Can "self" crush itself?
aahz at pythoncraft.com
Wed Nov 25 22:38:19 CET 2009
In article <mailman.965.1259143133.2873.python-list at python.org>,
Chris Rebert <clp2 at rebertia.com> wrote:
>If you want to prevent an instance being created in the first place,
>you can override __new__().
Or just raise an exception in __init__(), which I think is more common
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
The best way to get information on Usenet is not to ask a question, but
to post the wrong information.
More information about the Python-list