summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/UserDict.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/UserDict.py b/Lib/UserDict.py
index 35f86fc..8141e7f 100644
--- a/Lib/UserDict.py
+++ b/Lib/UserDict.py
@@ -22,7 +22,7 @@ class UserDict:
def clear(self): self.data.clear()
def copy(self):
if self.__class__ is UserDict:
- return UserDict(self.data)
+ return UserDict(self.data.copy())
import copy
data = self.data
try: