Message162695
| Author |
cjw296 |
| Recipients |
benjamin.peterson, cjw296, eric.araujo, georg.brandl, mloskot |
| Date |
2012年06月12日.22:05:17 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1339538734.02.0.736323552313.issue4442@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It's the fact that for immutable types, initialization is done in __new__ instead of __init__ that isn't documented anywhere.
This should be Python-level rather than C-level documentation.
The example I gave in #msg76473 is confusing without docs anywhere that explain why this is. |
|