]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/cephfs: use type annotation for rtype docstring
authorKefu Chai <kchai@redhat.com>
Sun, 28 Feb 2021 02:28:02 +0000 (10:28 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 28 Feb 2021 02:52:23 +0000 (10:52 +0800)
commit97cc4b729b78c7e213cc20e863d9efb309defaa6
tree3ece61493b862fa011e6fd007377cf2452f2f659
parent0c2164c2ab77eb5f383318b2081a2c15e35e2610
pybind/cephfs: use type annotation for rtype docstring

some `rtype` docstrings should have been `returns`, in this change, they are
changed to `returns`. and some of them can be converted to type annotations.
autodoc can also generate document from type annotations. so, in this change,
type annotations are added instead for them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/cephfs/cephfs.pyx