class declaration shortcut

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Wed Feb 28 19:03:06 EST 2007


Bjoern Schliessmann a écrit :
(snip)
> In Python, classes have no name. 

class Toto(object):
     pass

print Toto.__name__




More information about the Python-list mailing list