summaryrefslogtreecommitdiffstats
path: root/Lib/UserDict.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/UserDict.py')
-rw-r--r--Lib/UserDict.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/UserDict.py b/Lib/UserDict.py
index 9b6e73b..b642db7 100644
--- a/Lib/UserDict.py
+++ b/Lib/UserDict.py
@@ -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()