blob: 39edfd7ec0c99dc941771f06a19ca8f5b87609c4 [file] [log] [blame]
Fred Drake3a0351c1998-04-04 07:23:21 +00001\section{Built-in Module \module{__main__}}
Fred Drakeb91e9341998-07-23 17:59:49 +00002\declaremodule[main]{builtin}{__main__}
3
4\modulesynopsis{The environment where the top-level script is run.}
5
Guido van Rossum5fdeeea1994-01-02 01:22:07 +00006This module represents the (otherwise anonymous) scope in which the
7interpreter's main program executes --- commands read either from
8standard input or from a script file.