Kaydet (Commit) 5d3b322d authored tarafından Daniel F Moisset's avatar Daniel F Moisset Kaydeden (comit) Tim Graham

Made MultiValueDict.__deepcopy__()'s memo kwarg an arg.

It's always provided.
üst c4536c4a
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment