Message209843
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__. |
|
Date |
User |
Action |
Args |
2014-01-31 22:41:34 | BreamoreBoy | set | recipients:
+ BreamoreBoy, docs@python |
2014-01-31 22:41:34 | BreamoreBoy | set | messageid: <1391208094.95.0.178232051767.issue20467@psf.upfronthosting.co.za> |
2014-01-31 22:41:34 | BreamoreBoy | link | issue20467 messages |
2014-01-31 22:41:34 | BreamoreBoy | create | |
|