]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd.py doc: Fix markup on :class: references
authorDan Mick <dan.mick@inktank.com>
Thu, 24 May 2012 02:18:01 +0000 (19:18 -0700)
committerDan Mick <dan.mick@inktank.com>
Thu, 24 May 2012 02:33:19 +0000 (19:33 -0700)
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
doc/api/librbdpy.rst

index 2c57fd55ecdfb27b622d9b0a7e76c7176437f57d..da823c7fdd475fc89009bbd5e4a8dd9853c70629 100644 (file)
@@ -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: