Skip to content

Commit

Permalink
Doc: return value of {modify,add,delete}_ext_s() is a 4-tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
⁣ Florian Best authored and Petr Viktorin committed Nov 25, 2017
1 parent 4af1d54 commit df3b254
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Doc/ldap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions Lib/ldap/ldapobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -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().
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit df3b254

Please sign in to comment.