Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/reference/ldap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@ and wait for and return with the server's result, or with
This synchronous method implements the LDAP "Who Am I?"
extended operation.

It is useful for finding out to find out which identity
It is useful for finding out which identity
is assumed by the LDAP server after a SASL bind.

.. seealso::
Expand Down
4 changes: 2 additions & 2 deletions Lib/ldap/ldapobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def result(self,msgid=ldap.RES_ANY,all=1,timeout=None):
The method returns a tuple of the form (result_type,
result_data). The result_type is one of the constants RES_*.

See search() for a description of the search result's
See search_ext() for a description of the search result's
result_data, otherwise the result_data is normally meaningless.

The result() method will block for timeout seconds, or
Expand Down Expand Up @@ -588,7 +588,7 @@ def search_ext(self,base,scope,filterstr=None,attrlist=None,attrsonly=0,serverct
values are stored in a list as dictionary value.

The DN in dn is extracted using the underlying ldap_get_dn(),
which may raise an exception of the DN is malformed.
which may raise an exception if the DN is malformed.

If attrsonly is non-zero, the values of attrs will be
meaningless (they are not transmitted in the result).
Expand Down