use of super

harryos oswald.harry at gmail.com
Tue Jan 19 11:22:15 EST 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