Skip to content

Commit 89f66f8

Browse files
committed
ldapurl: Update docstring of LDAPUrlExtensions.__setitem__
1 parent 917f9c3 commit 89f66f8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Lib/ldapurl.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,12 @@ def __init__(self, default=None):
144144
self.update(default)
145145

146146
def __setitem__(self, name, value):
147-
"""
147+
"""Store an extension
148+
149+
name
150+
string
148151
value
149-
Either LDAPUrlExtension instance, (critical,exvalue)
150-
or string'ed exvalue
152+
LDAPUrlExtension instance, whose extype nust match `name`
151153
"""
152154
if not isinstance(value, LDAPUrlExtension):
153155
raise TypeError("value must be LDAPUrlExtension, not "

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