2010/1/19 harryos <oswald.ha...@gmail.com>:
> 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 <http://docs.python.org/library/functions.html#super> make
anything clearer?

-- 
Cheers,
Simon B.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to