Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #39077

Re: Struggling with program

Date 2013-02-18 11:27 +0100
From Jean-Michel Pichavant <jeanmichel@sequans.com>
Subject Re: Struggling with program
Newsgroups comp.lang.python
Message-ID <mailman.1931.1361183307.2939.python-list@python.org> (permalink)

Show all headers | View raw


> 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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Struggling  with program Jean-Michel Pichavant <jeanmichel@sequans.com> - 2013-02-18 11:27 +0100

csiph-web