summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref6.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-06-23 05:27:20 (GMT)
committerFred Drake <fdrake@acm.org>2001-06-23 05:27:20 (GMT)
commit2829f1cf99edb9f6f5f775d6b8ce8bd5b88c6ac9 (patch)
tree0217d96d78f7433a7f71da7bffe7c5901a33e1b5 /Doc/ref/ref6.tex
parent8c96369513ded66146f9cf19678029615e29bcb7 (diff)
downloadcpython-2829f1cf99edb9f6f5f775d6b8ce8bd5b88c6ac9.zip
cpython-2829f1cf99edb9f6f5f775d6b8ce8bd5b88c6ac9.tar.gz
cpython-2829f1cf99edb9f6f5f775d6b8ce8bd5b88c6ac9.tar.bz2
Fix a very minor (but annoying when looking for things!) markup nit.
Diffstat (limited to 'Doc/ref/ref6.tex')
-rw-r--r--Doc/ref/ref6.tex12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/ref/ref6.tex b/Doc/ref/ref6.tex
index f90317f..4cf30ff 100644
--- a/Doc/ref/ref6.tex
+++ b/Doc/ref/ref6.tex
@@ -22,6 +22,7 @@ simple_stmt: expression_stmt
| exec_stmt
\end{verbatim}
+
\section{Expression statements \label{exprstmts}}
\indexii{expression}{statement}
@@ -52,6 +53,7 @@ any output.)
\indexii{writing}{values}
\indexii{procedure}{call}
+
\section{Assert statements \label{assert}}
Assert statements\stindex{assert} are a convenient way to insert
@@ -89,6 +91,7 @@ it will be displayed as part of the stack trace.
Assignments to \code{__debug__} are illegal. The value for the
built-in variable is determined when the interpreter starts.
+
\section{Assignment statements \label{assignment}}
Assignment statements\indexii{assignment}{statement} are used to
@@ -306,6 +309,7 @@ def f(arg): pass # a function that does nothing (yet)
class C: pass # a class with no methods (yet)
\end{verbatim}
+
\section{The \keyword{del} statement \label{del}}
\stindex{del}
@@ -334,6 +338,7 @@ is in general equivalent to assignment of an empty slice of the
right type (but even this is determined by the sliced object).
\indexii{attribute}{deletion}
+
\section{The \keyword{print} statement \label{print}}
\stindex{print}
@@ -385,6 +390,7 @@ the subsequent expressions are printed to this file object. If the
first expression evaluates to \code{None}, then \code{sys.stdout} is
used as the file for output.
+
\section{The \keyword{return} statement \label{return}}
\stindex{return}
@@ -408,6 +414,7 @@ with a \keyword{finally} clause, that \keyword{finally} clause is executed
before really leaving the function.
\kwindex{finally}
+
\section{The \keyword{raise} statement \label{raise}}
\stindex{raise}
@@ -448,6 +455,7 @@ exception occurred. This is useful to re-raise an exception
transparently in an except clause.
\obindex{traceback}
+
\section{The \keyword{break} statement \label{break}}
\stindex{break}
@@ -475,6 +483,7 @@ with a \keyword{finally} clause, that \keyword{finally} clause is executed
before really leaving the loop.
\kwindex{finally}
+
\section{The \keyword{continue} statement \label{continue}}
\stindex{continue}
@@ -494,6 +503,7 @@ It continues with the next cycle of the nearest enclosing loop.
\indexii{loop}{statement}
\kwindex{finally}
+
\section{The \keyword{import} statement \label{import}}
\stindex{import}
@@ -594,6 +604,7 @@ about how the module search works from inside a package.]
[XXX Also should mention __import__().]
\bifuncindex{__import__}
+
\section{The \keyword{global} statement \label{global}}
\stindex{global}
@@ -634,6 +645,7 @@ containing the \keyword{exec} statement. The same applies to the
\bifuncindex{execfile}
\bifuncindex{compile}
+
\section{The \keyword{exec} statement \label{exec}}
\stindex{exec}