diff --git a/Lib/ldapurl.py b/Lib/ldapurl.py index 1edc2fe..7ed1d8a 100644 --- a/Lib/ldapurl.py +++ b/Lib/ldapurl.py @@ -144,10 +144,12 @@ def __init__(self, default=None): self.update(default) def __setitem__(self, name, value): - """ + """Store an extension + + name + string value - Either LDAPUrlExtension instance, (critical,exvalue) - or string'ed exvalue + LDAPUrlExtension instance, whose extype nust match `name` """ if not isinstance(value, LDAPUrlExtension): raise TypeError("value must be LDAPUrlExtension, not "