diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-04-08 10:48:55 +0200 |
---|---|---|
committer | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-04-08 10:48:55 +0200 |
commit | 1734742b2c736997456ead6aa64e48e70455a537 (patch) | |
tree | 5d24a0da23afeb76a5783010394d4600486a62f8 | |
parent | 203915cf3843b7973961f4ab83317457804a6aa2 (diff) | |
download | ceph-1734742b2c736997456ead6aa64e48e70455a537.tar.gz |
rados.py: add docstrings for Ioctx::__aio_*_cb()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rw-r--r-- | src/pybind/rados.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pybind/rados.py b/src/pybind/rados.py index f50ad35b530..b465728179e 100644 --- a/src/pybind/rados.py +++ b/src/pybind/rados.py @@ -646,6 +646,9 @@ class Ioctx(object): self.close() def __aio_safe_cb(self, completion, _): + """ + Callback to onsafe() for asynchronous operations + """ cb = None with self.lock: cb = self.safe_cbs[completion] @@ -654,6 +657,9 @@ class Ioctx(object): return 0 def __aio_complete_cb(self, completion, _): + """ + Callback to oncomplete() for asynchronous operations + """ cb = None with self.lock: cb = self.complete_cbs[completion] |