OOP / language design question
bruno at modulix
onurb at xiludom.gro
Tue Apr 25 07:55:47 EDT 2006
cctv.star at gmail.com wrote:
> I was wondering, why you always have to remember to call bases'
> constructors
<pedantic>
s/constructors/__init__/
the __init__() method is *not* the constructor. Object's instanciation
is a two-stage process: __new__() is called first, then __init__().
</pedantic>
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"
More information about the Python-list
mailing list