From 2b132f1436d42454526f26fd23081d1ffa3317ba Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 29 Jan 2020 15:08:00 +0100 Subject: [PATCH] ldap.dn.is_dn: Fix typo in docstring 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 --- Lib/ldap/dn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/ldap/dn.py b/Lib/ldap/dn.py index cabfed8..a066ac1 100644 --- a/Lib/ldap/dn.py +++ b/Lib/ldap/dn.py @@ -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: