doc/rados: fix the method names

otherwise, sphinx fails to run with py3

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2017-09-11 20:46:53 +08:00
parent fda079d5ed
commit 5720c9854b

View File

@ -374,7 +374,7 @@ of objects or XATTRs and iterate over them.
.. automethod:: Ioctx.set_xattr(key, xattr_name, xattr_value)
.. automethod:: Ioctx.get_xattrs(oid)
.. automethod:: XattrIterator.next()
.. automethod:: XattrIterator.__next__()
.. automethod:: Ioctx.get_xattr(key, xattr_name)
.. automethod:: Ioctx.rm_xattr(key, xattr_name)
@ -389,7 +389,7 @@ you may perform synchronous operations on the objects. For asynchronous
operations, you should use the I/O context methods.
.. automethod:: Ioctx.list_objects()
.. automethod:: ObjectIterator.next()
.. automethod:: ObjectIterator.__next__()
.. automethod:: Object.read(length = 1024*1024)
.. automethod:: Object.write(string_to_write)
.. automethod:: Object.get_xattrs()