We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0625e19 commit ab93063Copy full SHA for ab93063
Lib/ldap/cidict.py
@@ -44,12 +44,6 @@ def has_key(self,key):
44
def __contains__(self,key):
45
return IterableUserDict.__contains__(self, key.lower())
46
47
- def get(self,key,failobj=None):
48
- try:
49
- return self[key]
50
- except KeyError:
51
- return failobj
52
-
53
def keys(self):
54
return self._keys.values()
55
Lib/ldap/schema/models.py
@@ -679,12 +679,6 @@ def has_key(self,nameoroid):
679
k = self._at2key(nameoroid)
680
return k in self.data
681
682
- def get(self,nameoroid,failobj):
683
684
- return self[nameoroid]
685
686
687
688
689
return self._keytuple2attrtype.values()
690
0 commit comments