This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author BreamoreBoy
Recipients BreamoreBoy, docs@python
Date 2014-01-31.22:41:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391208094.95.0.178232051767.issue20467@psf.upfronthosting.co.za>
In-reply-to
Content
I found the wording here http://docs.python.org/3/reference/datamodel.html#object.__init__ very confusing as it implies that __init__ is the class constructor and not the initialiser.  Specifically it says "As a special constraint on constructors, no value may be returned; doing so will cause a TypeError to be raised at runtime".  Can we please have the wording changed so that it states exactly what this method does?  Possibly changes are also needed in the equivalent section for __new__.
History
Date User Action Args
2014-01-31 22:41:34BreamoreBoysetrecipients: + BreamoreBoy, docs@python
2014-01-31 22:41:34BreamoreBoysetmessageid: <1391208094.95.0.178232051767.issue20467@psf.upfronthosting.co.za>
2014-01-31 22:41:34BreamoreBoylinkissue20467 messages
2014-01-31 22:41:34BreamoreBoycreate