Alex Martelli wrote: > Michael Tobis <[EMAIL PROTECTED]> wrote: > ... > > .x = 1 > > .def foo(): > > . if False: > > . global x > > . x = 2 > > .foo() > > .print x > > > > prints "1" > > Wrong:
> >>> foo() > >>> print x > 2 > > And indeed, that IS the problem. Right. That's what I meant. Sorry, that was a thinkographical error. mt -- http://mail.python.org/mailman/listinfo/python-list
