Kaydet (Commit) 643c7b23 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Fixed #2079 -- Fixed bug introduced in [3070] in django.utils.datastructures

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 066dac16
......@@ -124,8 +124,9 @@ class MultiValueDict(dict):
def __copy__(self):
return self.__class__(dict.items(self))
def __deepcopy__(self, memo):
def __deepcopy__(self, memo=None):
import copy
if memo is None: 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