diff options
author | Dan Mick <dan.mick@inktank.com> | 2012-05-23 19:18:01 -0700 |
---|---|---|
committer | Dan Mick <dan.mick@inktank.com> | 2012-05-23 19:33:19 -0700 |
commit | 6e46de370393d851829949cb2b67cd55f9073319 (patch) | |
tree | 613824ffcd0e8e67299f9a1a3732b9da22d5d1c2 /doc | |
parent | 9453413c49ed3ef1c403bf831115f89eda44cbfc (diff) | |
download | ceph-6e46de370393d851829949cb2b67cd55f9073319.tar.gz |
rbd.py doc: Fix markup on :class: references
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/librbdpy.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/api/librbdpy.rst b/doc/api/librbdpy.rst index 2c57fd55ecd..da823c7fdd4 100644 --- a/doc/api/librbdpy.rst +++ b/doc/api/librbdpy.rst @@ -61,9 +61,10 @@ block:: finally: cluster.shutdown() -This can be cumbersome, so the :class:Rados, :class:Ioctx, and :class:Image -classes can be used as context managers that close/shutdown automatically (see -:pep:`343`). Using them as context managers, the above example becomes:: +This can be cumbersome, so the :class:`Rados`, :class:`Ioctx`, and +:class:`Image` classes can be used as context managers that close/shutdown +automatically (see :pep:`343`). Using them as context managers, the +above example becomes:: with rados.Rados(conffile='my_ceph.conf') as cluster: with cluster.open_ioctx('mypool') as ioctx: |