[Python-Dev] Subtyping mutable and immutable built-in types
Chermside, Michael
mchermside at ingdirect.com
Thu Apr 29 08:15:27 EDT 2004
Edward C. Jones writes:
> # According to
> # http://www.cafepy.com/articles/python_attributes_and_methods/ch03s02.html
> # the correct ways to subtype mutable and immutable built-in types are
[...]
> # This warty stuff needs documenting.
The use of __init__ and __new__ with immutable classes is already
documented at "http://www.python.org/2.2/descrintro.html#__new__".
If you have a suggestion of a another place this should be described,
let us know or better yet file a bug report at SourceForge.
-- Michael Chermside
This email may contain confidential or privileged information. If you believe you have received the message in error, please notify the sender and delete the message without copying or disclosing it.
More information about the Python-Dev
mailing list