Re: use of super

2010-01-19 Thread harryos
thanks Simon..I should have checked it -- http://mail.python.org/mailman/listinfo/python-list

Re: use of super

2010-01-19 Thread Simon Brunning
2010/1/19 harryos : > I was going thru the weblog appln in practical django book by > bennet .I came across this > > class Entry(Model): >        def save(self): >                dosomething() >                super(Entry,self).save() > > I couldn't make out why Entry and self are passed as argumen

use of super

2010-01-19 Thread harryos
hi I was going thru the weblog appln in practical django book by bennet .I came across this class Entry(Model): def save(self): dosomething() super(Entry,self).save() I couldn't make out why Entry and self are passed as arguments to super ().Can someone ple