__init__ explanation please

Jeroen Ruigrok van der Werven asmodai at in-nomine.org
Mon Jan 14 06:24:18 EST 2008


-On [20080113 14:03], Ben Finney (bignose+hates-spam at benfinney.id.au) wrote:
>That's getting the two of them confused. __new__ is a constructor,
>__init__ is not.

And there I just sent an email stating the wrong thing.

I'll dig into it again, because I am really confusing something here (and
jumping between 4 languages on the same day is not helping much to be honest).

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
If slavery is not wrong, nothing is wrong...



More information about the Python-list mailing list