homepage

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 r.david.murray
Recipients JBernardo, r.david.murray
Date 2011年07月11日.21:07:52
SpamBayes Score 0.0013983025
Marked as misclassified No
Message-id <1310418473.76.0.0414487337635.issue12538@psf.upfronthosting.co.za>
In-reply-to
Content
To set the value of an immutable type you must use the __new__ method. By the time __init__ is called the value has already be established, and in the case of int it defaults to 0.
History
Date User Action Args
2011年07月11日 21:07:53r.david.murraysetrecipients: + r.david.murray, JBernardo
2011年07月11日 21:07:53r.david.murraysetmessageid: <1310418473.76.0.0414487337635.issue12538@psf.upfronthosting.co.za>
2011年07月11日 21:07:53r.david.murraylinkissue12538 messages
2011年07月11日 21:07:52r.david.murraycreate

AltStyle によって変換されたページ (->オリジナル) /