Struggling with program

Jean-Michel Pichavant jeanmichel at sequans.com
Mon Feb 18 11:27:57 CET 2013


> So your assignment is a bit misleading when it says a constructor is
> not
> required, because if you want to initialize some instance attributes,
> it
> has to be done in a method, usually the constructor, which in Python
> is
> __init__.

By constructor, he may actually refer to the __new__ method.

JM


-- IMPORTANT NOTICE: 

The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


More information about the Python-list mailing list