class declaration shortcut

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at
Thu Mar 1 03:32:56 CET 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?



BOFH excuse #179:

multicasts on broken packets

More information about the Python-list mailing list