1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Removed F.__deepcopy__()

The method didn't change standard __deepcopy__ in any way.
This commit is contained in:
Anssi Kääriäinen 2013-10-11 00:31:37 +03:00
parent 2fb5a51fa3
commit 3a66035107

View File

@ -138,11 +138,6 @@ class F(ExpressionNode):
super(F, self).__init__(None, None, False)
self.name = name
def __deepcopy__(self, memodict):
obj = super(F, self).__deepcopy__(memodict)
obj.name = self.name
return obj
def prepare(self, evaluator, query, allow_joins):
return evaluator.prepare_leaf(self, query, allow_joins)