From 88e3a4c90bdfd88474b48ec31409439034ad5b3a Mon Sep 17 00:00:00 2001 From: Florian Best Date: Fri, 20 Sep 2019 15:11:20 +0200 Subject: [PATCH 1/2] ldap.dn.is_dn: Fix typo in docstring Suggested in https://github.com/python-ldap/python-ldap/pull/272 --- 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 cabfed84..5e582782 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() like as a distinguished host_name (DN), otherwise False is returned. """ try: From c5735937198a4f65304a3f7e861d492360e9d973 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Fri, 20 Sep 2019 15:13:43 +0200 Subject: [PATCH 2/2] ldap.dn.is_dn: Fix typo in docstring --- 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 5e582782..a066ac19 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 if `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: 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