global, was Re: None assigment
Joshua Marshall
jmarshal at mathworks.com
Fri Feb 9 10:51:51 EST 2001
Michael Hudson <mwh21 at cam.ac.uk> wrote:
> Michael Hudson <mwh21 at cam.ac.uk> writes:
>> Which version are you using? They all print 4 for me, and all but
>> foo() do modify the value of `b'. foo() doesn't because what follows
>> an
> OTOH, that was a version that had the PEP 227 code checked into it.
> With an older version, I see what you see. Wierd.
Sounds like a bug fix.
More information about the Python-list
mailing list