class declaration shortcut

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Wed Feb 28 21:32:56 EST 2007


Bruno Desthuilliers wrote:

> class Toto(object):
>      pass
> 
> print Toto.__name__

Okay, I revoke my statement and assert the opposite.

But what's it (__name__) good for?

Regards,


Björn

-- 
BOFH excuse #179:

multicasts on broken packets




More information about the Python-list mailing list