use of super

Simon Brunning simon at
Tue Jan 19 17:52:56 CET 2010

2010/1/19 harryos <oswald.harry at>:
> 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?

Does <> make
anything clearer?

Simon B.

More information about the Python-list mailing list