]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/rados: use type annotation for rtype docstring 39740/head
authorKefu Chai <kchai@redhat.com>
Sun, 28 Feb 2021 02:35:03 +0000 (10:35 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 28 Feb 2021 02:52:23 +0000 (10:52 +0800)
commit02e2a78ce38e6717e75cd2992d0df2e28d2605b4
tree2d5a8ceba1e84b4a621ce8ed6d941a332110f0ce
parent97cc4b729b78c7e213cc20e863d9efb309defaa6
pybind/rados: use type annotation for rtype docstring

some docstrings in rados.pyx put the type of return value like

:returns: str - value of the option or None

since we can also annotate the type of the return value using type
annotations, in this change, the rtype is annotated using type
annotations.

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