Skip to content

Commit db40ed5

Browse files
committed
docs(ldapobject): fix typos in docstring
1 parent 30b24d5 commit db40ed5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Doc/reference/ldap.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1364,7 +1364,7 @@ and wait for and return with the server's result, or with
13641364
This synchronous method implements the LDAP "Who Am I?"
13651365
extended operation.
13661366

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

13701370
.. seealso::

Lib/ldap/ldapobject.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def result(self,msgid=ldap.RES_ANY,all=1,timeout=None):
521521
The method returns a tuple of the form (result_type,
522522
result_data). The result_type is one of the constants RES_*.
523523
524-
See search() for a description of the search result's
524+
See search_ext() for a description of the search result's
525525
result_data, otherwise the result_data is normally meaningless.
526526
527527
The result() method will block for timeout seconds, or
@@ -588,7 +588,7 @@ def search_ext(self,base,scope,filterstr=None,attrlist=None,attrsonly=0,serverct
588588
values are stored in a list as dictionary value.
589589
590590
The DN in dn is extracted using the underlying ldap_get_dn(),
591-
which may raise an exception of the DN is malformed.
591+
which may raise an exception if the DN is malformed.
592592
593593
If attrsonly is non-zero, the values of attrs will be
594594
meaningless (they are not transmitted in the result).

0 commit comments

Comments
 (0)