summaryrefslogtreecommitdiff
path: root/django/utils/datastructures.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/datastructures.py')
-rw-r--r--django/utils/datastructures.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/django/utils/datastructures.py b/django/utils/datastructures.py
index dd405e1337..aba5bcf1c2 100644
--- a/django/utils/datastructures.py
+++ b/django/utils/datastructures.py
@@ -91,9 +91,7 @@ class MultiValueDict(dict):
for k, v in self.lists()
])
- def __deepcopy__(self, memo=None):
- if memo is None:
- memo = {}
+ def __deepcopy__(self, memo):
result = self.__class__()
memo[id(self)] = result
for key, value in dict.items(self):