#11703: Added missing Super calls to 2 widget classes
----------------------------------------+-----------------------------------
          Reporter:  Rupe               |         Owner:  nobody                
                 
            Status:  closed             |     Milestone:                        
                 
         Component:  Forms              |       Version:  SVN                   
                 
        Resolution:  fixed              |      Keywords:  forms widget super 
multiple-inheritance
             Stage:  Ready for checkin  |     Has_patch:  1                     
                 
        Needs_docs:  0                  |   Needs_tests:  0                     
                 
Needs_better_patch:  0                  |  
----------------------------------------+-----------------------------------
Changes (by lukeplant):

  * status:  reopened => closed
  * needs_better_patch:  1 => 0
  * resolution:  => fixed

Comment:

 Because of the way `object.__init__()` works in Python 2.6 and later,
 classes which inherit from object directly should not call
 `super(...).__init__()`, because it can accept no arguments and is
 pointless.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11703#comment:7>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to