Skip to content

Commit

Permalink
fixed ldap.dn.is_dn.__doc__
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder committed Jul 24, 2016
1 parent a2e29cf commit f74f858
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/ldap/dn.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
See http://www.python-ldap.org/ for details.
\$Id: dn.py,v 1.14 2016/07/24 15:42:17 stroeder Exp $
\$Id: dn.py,v 1.15 2016/07/24 15:43:03 stroeder Exp $
Compability:
- Tested with Python 2.0+
Expand Down Expand Up @@ -112,7 +112,7 @@ def explode_rdn(rdn,notypes=0,flags=0):

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

0 comments on commit f74f858

Please sign in to comment.