Made MultiValueDict.__deepcopy__()'s memo kwarg an arg.
It's always provided.
This commit is contained in:
parent
c4536c4a54
commit
5d3b322dce
|
@ -91,9 +91,7 @@ class MultiValueDict(dict):
|
||||||
for k, v in self.lists()
|
for k, v in self.lists()
|
||||||
])
|
])
|
||||||
|
|
||||||
def __deepcopy__(self, memo=None):
|
def __deepcopy__(self, memo):
|
||||||
if memo is None:
|
|
||||||
memo = {}
|
|
||||||
result = self.__class__()
|
result = self.__class__()
|
||||||
memo[id(self)] = result
|
memo[id(self)] = result
|
||||||
for key, value in dict.items(self):
|
for key, value in dict.items(self):
|
||||||
|
|
Loading…
Reference in New Issue