diff --git a/Doc/ldap.rst b/Doc/ldap.rst index 5160f30..d526370 100644 --- a/Doc/ldap.rst +++ b/Doc/ldap.rst @@ -647,7 +647,7 @@ and wait for and return with the server's result, or with .. py:method:: LDAPObject.add_ext(dn, modlist [, serverctrls=None [, clientctrls=None]]) -> int -.. py:method:: LDAPObject.add_ext_s(dn, modlist [, serverctrls=None [, clientctrls=None]]) -> None +.. py:method:: LDAPObject.add_ext_s(dn, modlist [, serverctrls=None [, clientctrls=None]]) -> tuple Performs an LDAP add operation. The *dn* argument is the distinguished name (DN) of the entry to add, and *modlist* is a list of attributes to be @@ -713,7 +713,7 @@ and wait for and return with the server's result, or with .. py:method:: LDAPObject.delete_ext(dn [, serverctrls=None [, clientctrls=None]]) -> int -.. py:method:: LDAPObject.delete_ext_s(dn [, serverctrls=None [, clientctrls=None]]) -> None +.. py:method:: LDAPObject.delete_ext_s(dn [, serverctrls=None [, clientctrls=None]]) -> tuple Performs an LDAP delete operation on *dn*. The asynchronous form returns the message id of the initiated request, and the result can be obtained @@ -751,7 +751,7 @@ and wait for and return with the server's result, or with .. py:method:: LDAPObject.modify_ext(dn, modlist [, serverctrls=None [, clientctrls=None]]) -> int -.. py:method:: LDAPObject.modify_ext_s(dn, modlist [, serverctrls=None [, clientctrls=None]]) -> None +.. py:method:: LDAPObject.modify_ext_s(dn, modlist [, serverctrls=None [, clientctrls=None]]) -> tuple Performs an LDAP modify operation on an entry's attributes. The *dn* argument is the distinguished name (DN) of the entry to modify, diff --git a/Lib/ldap/ldapobject.py b/Lib/ldap/ldapobject.py index 01f0044..36f98cf 100644 --- a/Lib/ldap/ldapobject.py +++ b/Lib/ldap/ldapobject.py @@ -502,7 +502,7 @@ def delete_ext(self,dn,serverctrls=None,clientctrls=None): delete(dn) -> int delete_s(dn) -> None delete_ext(dn[,serverctrls=None[,clientctrls=None]]) -> int - delete_ext_s(dn[,serverctrls=None[,clientctrls=None]]) -> None + delete_ext_s(dn[,serverctrls=None[,clientctrls=None]]) -> tuple Performs an LDAP delete operation on dn. The asynchronous form returns the message id of the initiated request, and the result can be obtained from a subsequent call to result(). @@ -570,7 +570,7 @@ def modify(self,dn,modlist): modify(dn, modlist) -> int modify_s(dn, modlist) -> None modify_ext(dn, modlist[,serverctrls=None[,clientctrls=None]]) -> int - modify_ext_s(dn, modlist[,serverctrls=None[,clientctrls=None]]) -> None + modify_ext_s(dn, modlist[,serverctrls=None[,clientctrls=None]]) -> tuple Performs an LDAP modify operation on an entry's attributes. dn is the DN of the entry to modify, and modlist is the list of modifications to make to the entry.