All,
The example given in the previous e-mail I sent was wrong (and makes the
question look stupid). In the attribute instantiation example, the
__main__ declaration should read:

> if __name__ == 'main':
>       y = myY()

I meant it to show that even if I never instantiate X, its attributes
still get created.

Regards,
Andrew

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to