Implementation of the global statement
Hung Jung Lu
hungjunglu at yahoo.com
Wed Nov 27 16:24:51 EST 2002
Michael Hudson <mwh at python.net> wrote in message news:<7h3adjvqgs4.fsf at pc150.maths.bris.ac.uk>...
> hungjunglu at yahoo.com (Hung Jung Lu) writes:
> > The global statement as in
> > ...
> > is a directive to the parser.
>
> Well, compiler, really.
>From Guido's Python Language Reference Manual, Section 6.13 The global
statement:
"... Programmer's note: the global is a directive to the parser. It
applies only to code parsed at the same time as the global statement.
..."
Hung Jung
More information about the Python-list
mailing list