mtre...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed b3b88b4

Removed an unnecessary default argument in one __deepcopy__() method and fixed
up the one place that was mistakenly relying on that.

Refs #6308.

  • Participants
  • Parent commits c95183e

Comments (0)

Files changed (1)

File django/http/

             dict.__setitem__(result, key, value)
         return result
-    def __deepcopy__(self, memo={}):
+    def __deepcopy__(self, memo):
         import copy
         result = self.__class__('', mutable=True)
         memo[id(self)] = result
     def copy(self):
         "Returns a mutable copy of this object."
-        return self.__deepcopy__()
+        return self.__deepcopy__({})
     def urlencode(self):
         output = []