Skip to content

Commit 2b132f1

Browse files
encukouspaceone
andauthored
ldap.dn.is_dn: Fix typo in docstring
#303 Suggested in #272 Co-authored-by: Florian Best <spaceone@users.noreply.github.com>
1 parent 5c2e3ce commit 2b132f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/ldap/dn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def explode_rdn(rdn, notypes=False, flags=0):
111111

112112
def is_dn(s,flags=0):
113113
"""
114-
Returns True is `s' can be parsed by ldap.dn.str2dn() like as a
114+
Returns True if `s' can be parsed by ldap.dn.str2dn() as a
115115
distinguished host_name (DN), otherwise False is returned.
116116
"""
117117
try:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy