On Mon, 14 Jan 2008 22:18:44 +1100, Ben Finney wrote:

> What one is "in reality" calling is the '__new__' method of the Person
> class. That function, in turn, is creating a new Person instance, and
> calling the '__init__' method of the newly-created instance. Finally,
> the '__new__' method returns that instance back to the caller.


But not if Person is an old-style class.


-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to