Question about scope

Bruno Desthuilliers bdesth.quelquechose at
Sun Oct 26 21:35:06 CET 2008

Lawrence D'Oliveiro a écrit :
> In message <0110f0fd$0$20657$c3e8da3 at>, Steven D'Aprano
> wrote:
>> Why is it a class attribute instead of an instance attribute?
> Singleton class.

Possibly, yes (and I believe it is the case, but...). Or the OP doesnt 
have a good enough understanding of Python's object model, in which case 
Steven's question makes sense.

More information about the Python-list mailing list