In article <mailman.965.1259143133.2873.python-l...@python.org>,
Chris Rebert  <c...@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
practice.
-- 
Aahz (a...@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.  
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to