Add popitem().

This commit is contained in:
Guido van Rossum 2000-12-12 22:06:00 +00:00
parent ff63f2023d
commit 1072c3872d

View file

@ -38,3 +38,5 @@ class UserDict:
if not self.data.has_key(key):
self.data[key] = failobj
return self.data[key]
def popitem(self):
return self.data.popitem()