Class-level variables - a scoping issue
ldo at geek-central.gen.new_zealand
Mon Oct 11 09:02:43 CEST 2010
In message <8hfq23FetrU1 at mid.individual.net>, Gregory Ewing wrote:
> Lawrence D'Oliveiro wrote:
>> It seems to me the same principle, that of disallowing implicit
>> overriding of a name from an outer scope with that from an inner one
>> after the former has already been referenced, should be applied here as
> How would you intend to enforce such a restriction?
The same way it’s already enforced.
More information about the Python-list