summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libmain.tex
blob: 949d2b222a8cb8b0917455f4144a9476ead5cfca (plain)
1
2
3
4
5
6
7
8
9
\section{\module{__main__} ---
         Top-level script environment.}
\declaremodule[main]{builtin}{__main__}

\modulesynopsis{The environment where the top-level script is run.}

This module represents the (otherwise anonymous) scope in which the
interpreter's main program executes --- commands read either from
standard input or from a script file.