Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed F.__deepcopy__()

The method didn't change standard __deepcopy__ in any way.
  • Loading branch information...
commit 3a66035107a640c4905f0a5f247a45f32dbe16d7 1 parent 2fb5a51
Anssi Kääriäinen authored October 11, 2013

Showing 1 changed file with 0 additions and 5 deletions. Show diff stats Hide diff stats

  1. 5  django/db/models/expressions.py
5  django/db/models/expressions.py
@@ -138,11 +138,6 @@ def __init__(self, name):
138 138
         super(F, self).__init__(None, None, False)
139 139
         self.name = name
140 140
 
141  
-    def __deepcopy__(self, memodict):
142  
-        obj = super(F, self).__deepcopy__(memodict)
143  
-        obj.name = self.name
144  
-        return obj
145  
-
146 141
     def prepare(self, evaluator, query, allow_joins):
147 142
         return evaluator.prepare_leaf(self, query, allow_joins)
148 143
 

0 notes on commit 3a66035

Please sign in to comment.
Something went wrong with that request. Please try again.