summaryrefslogtreecommitdiffstats
path: root/Doc/libmain.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/libmain.tex')
-rw-r--r--Doc/libmain.tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/libmain.tex b/Doc/libmain.tex
new file mode 100644
index 0000000..c730a03
--- /dev/null
+++ b/Doc/libmain.tex
@@ -0,0 +1,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.