diff options
| author | Daniel F Moisset <dmoisset@machinalis.com> | 2017-04-07 15:13:57 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-04-07 09:13:57 -0400 |
| commit | 5d3b322dce452dd75e8602ced9f0d02f9d6a5837 (patch) | |
| tree | 4588d64366ba1cef1137af892ba6ea6dea3ea8b9 /django/utils/datastructures.py | |
| parent | c4536c4a54282cd89bc815b58cc3c73280712df1 (diff) | |
Made MultiValueDict.__deepcopy__()'s memo kwarg an arg.
It's always provided.
Diffstat (limited to 'django/utils/datastructures.py')
| -rw-r--r-- | django/utils/datastructures.py | 4 |
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): |
