summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libmain.tex
blob: 39edfd7ec0c99dc941771f06a19ca8f5b87609c4 (plain)
1
2
3
4
5
6
7
8
\section{Built-in Module \module{__main__}}
\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.