Question about scope
bdesth.quelquechose at free.quelquepart.fr
Sun Oct 26 21:35:06 CET 2008
Lawrence D'Oliveiro a écrit :
> In message <0110f0fd$0$20657$c3e8da3 at news.astraweb.com>, Steven D'Aprano
>> 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