Source

cpython / Doc / libmain.tex

Full commit
1
2
3
4
5
6
\section{Built-in Module \sectcode{__main__}}

\bimodindex{__main__}
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.