mirror of https://github.com/django/django.git
Fixed Widget.__init__() for Python 2.6 and greater. Refs #11703
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c33355d86a
commit
49cf7f4a51
|
@ -139,7 +139,6 @@ class Widget(object):
|
|||
self.attrs = attrs.copy()
|
||||
else:
|
||||
self.attrs = {}
|
||||
super(Widget, self).__init__(attrs)
|
||||
|
||||
def __deepcopy__(self, memo):
|
||||
obj = copy.copy(self)
|
||||
|
|
Loading…
Reference in New Issue