summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref8.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/ref/ref8.tex')
-rw-r--r--Doc/ref/ref8.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/ref/ref8.tex b/Doc/ref/ref8.tex
index cadbc5d..24d10b1 100644
--- a/Doc/ref/ref8.tex
+++ b/Doc/ref/ref8.tex
@@ -6,6 +6,7 @@ typed in interactively, from a module source file, etc. This chapter
gives the syntax used in these cases.
\index{interpreter}
+
\section{Complete Python programs\label{programs}}
\index{program}
@@ -43,6 +44,7 @@ program.
\index{command line}
\index{standard input}
+
\section{File input\label{file-input}}
All input read from non-interactive files has the same form:
@@ -63,6 +65,7 @@ This syntax is used in the following situations:
\end{itemize}
+
\section{Interactive input\label{interactive}}
Input in interactive mode is parsed using the following grammar:
@@ -75,6 +78,7 @@ Note that a (top-level) compound statement must be followed by a blank
line in interactive mode; this is needed to help the parser detect the
end of the input.
+
\section{Expression input\label{expression-input}}
\index{input}