Skip to content

Commit

Permalink
ldap.dn.is_dn: Fix typo in docstring
Browse files Browse the repository at this point in the history
https://github.com/python-ldap/python-ldap/pull/303
Suggested in https://github.com/python-ldap/python-ldap/pull/272

Co-authored-by: Florian Best <spaceone@users.noreply.github.com>
  • Loading branch information
2 people authored and GitHub committed Jan 29, 2020
1 parent 5c2e3ce commit 2b132f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/ldap/dn.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def explode_rdn(rdn, notypes=False, flags=0):

def is_dn(s,flags=0):
"""
Returns True is `s' can be parsed by ldap.dn.str2dn() like as a
Returns True if `s' can be parsed by ldap.dn.str2dn() as a
distinguished host_name (DN), otherwise False is returned.
"""
try:
Expand Down

0 comments on commit 2b132f1

Please sign in to comment.