]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd.py: Docstring syntax.
authorTommi Virtanen <tv@inktank.com>
Thu, 4 Oct 2012 21:42:36 +0000 (14:42 -0700)
committerTommi Virtanen <tv@inktank.com>
Thu, 4 Oct 2012 21:54:17 +0000 (14:54 -0700)
It's meth for referring to Python class methods:
http://sphinx.pocoo.org/domains.html#python-roles

The links to format() and features() are currently
dead because those methods don't have docstrings.
They'll start working once docstrings are added.

Signed-off-by: Tommi Virtanen <tv@inktank.com>
src/pybind/rbd.py

index 93e5e17941e3c95c83340268d236e9647d577251..12584087405d6c6ece64a3a60e22f68c2ed28cfb 100644 (file)
@@ -366,7 +366,7 @@ class Image(object):
 
             * ``parent_name``  (str) - deprecated
 
-            * see also :method:``format`` and :method:``features``
+            See also :meth:`format` and :meth:`features`.
 
         """
         info = rbd_image_info_t()