Fred Drake | 3a0351c | 1998-04-04 07:23:21 +0000 | [diff] [blame] | 1 | \section{Built-in Module \module{__main__}} |
Fred Drake | b91e934 | 1998-07-23 17:59:49 +0000 | [diff] [blame^] | 2 | \declaremodule[main]{builtin}{__main__} |
| 3 | |
| 4 | \modulesynopsis{The environment where the top-level script is run.} |
| 5 | |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 6 | This module represents the (otherwise anonymous) scope in which the |
| 7 | interpreter's main program executes --- commands read either from |
| 8 | standard input or from a script file. |