use of super

harryos oswald.harry at gmail.com
Tue Jan 19 17:22:15 CET 2010


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 please explain?
thanks
harry



More information about the Python-list mailing list