diff options
author | Fred Drake <fdrake@acm.org> | 1998-07-28 19:34:22 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-07-28 19:34:22 (GMT) |
commit | 61c7728cc9011de7be8328094d2bda6fa5c470d4 (patch) | |
tree | b98e70546982598cad487d148ac53e232d51b3ec /Doc/ref/ref8.tex | |
parent | 020f8c01395027622437c10250e6c8aafec87cfe (diff) | |
download | cpython-61c7728cc9011de7be8328094d2bda6fa5c470d4.zip cpython-61c7728cc9011de7be8328094d2bda6fa5c470d4.tar.gz cpython-61c7728cc9011de7be8328094d2bda6fa5c470d4.tar.bz2 |
Make sure all chapters, sections, and subsections have a \label to give them
semantic file names in the HTML. No more node#.html files!
Diffstat (limited to 'Doc/ref/ref8.tex')
-rw-r--r-- | Doc/ref/ref8.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/ref/ref8.tex b/Doc/ref/ref8.tex index fe83594..361884f 100644 --- a/Doc/ref/ref8.tex +++ b/Doc/ref/ref8.tex @@ -1,4 +1,4 @@ -\chapter{Top-level components} +\chapter{Top-level components\label{top-level}} The Python interpreter can get its input from a number of sources: from a script passed to it as standard input or as program argument, @@ -6,7 +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} +\section{Complete Python programs\label{programs}} \index{program} While a language specification need not prescribe how the language @@ -43,7 +43,7 @@ program. \index{command line} \index{standard input} -\section{File input} +\section{File input\label{file-input}} All input read from non-interactive files has the same form: @@ -63,7 +63,7 @@ This syntax is used in the following situations: \end{itemize} -\section{Interactive input} +\section{Interactive input\label{interactive}} Input in interactive mode is parsed using the following grammar: @@ -75,7 +75,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} +\section{Expression input\label{expression-input}} \index{input} There are two forms of expression input. Both ignore leading |