global, was Re: None assigment
Michael Hudson
mwh21 at cam.ac.uk
Fri Feb 9 03:19:57 EST 2001
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.
Cheers,
M.
--
Java is a WORA language! (Write Once, Run Away)
-- James Vandenberg (on progstone at egroups.com)
& quoted by David Rush on comp.lang.scheme
More information about the Python-list
mailing list