From: Kefu Chai Date: Tue, 18 Sep 2018 03:31:12 +0000 (+0800) Subject: pybind/rados: fix typos X-Git-Tag: v14.0.1~213^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1544ef05bfc2da6b54e5a276eb2e679c1a16fbc5;p=ceph.git pybind/rados: fix typos Signed-off-by: Kefu Chai --- diff --git a/src/pybind/rados/rados.pyx b/src/pybind/rados/rados.pyx index be18a7a5c861..fa60b87be0ee 100644 --- a/src/pybind/rados/rados.pyx +++ b/src/pybind/rados/rados.pyx @@ -2267,7 +2267,7 @@ cdef class Ioctx(object): def aio_write_full(self, object_name, to_write, oncomplete=None, onsafe=None): """ - Asychronously write an entire object + Asynchronously write an entire object The object is filled with the provided data. If the object exists, it is atomically truncated and then written. @@ -2311,7 +2311,7 @@ cdef class Ioctx(object): ('onsafe', opt(Callable))) def aio_append(self, object_name, to_append, oncomplete=None, onsafe=None): """ - Asychronously append data to an object + Asynchronously append data to an object Queues the write and returns. @@ -2365,7 +2365,7 @@ cdef class Ioctx(object): ('oncomplete', opt(Callable))) def aio_read(self, object_name, length, offset, oncomplete): """ - Asychronously read data from an object + Asynchronously read data from an object oncomplete will be called with the returned read value as well as the completion: @@ -2488,7 +2488,7 @@ cdef class Ioctx(object): @requires(('object_name', str_type), ('oncomplete', opt(Callable)), ('onsafe', opt(Callable))) def aio_remove(self, object_name, oncomplete=None, onsafe=None): """ - Asychronously remove an object + Asynchronously remove an object :param object_name: name of the object to remove :type object_name: str