Python 3K or Python 2.9?

Piet van Oostrum piet at cs.uu.nl
Thu Sep 13 04:36:47 EDT 2007


>>>>> Ben Finney <bignose+hates-spam at benfinney.id.au> (BF) wrote:

>BF> The latter two statements are equivalent. The 'instance.method(args)'
>BF> syntax is just sugar for 'Class.method(instance, args)'.

It is more than just syntactic sugar because the Class is derived from the
instance at runtime. 
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org



More information about the Python-list mailing list