summaryrefslogtreecommitdiffstats
path: root/Doc/ref
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-15 18:44:10 (GMT)
committerFred Drake <fdrake@acm.org>2000-08-15 18:44:10 (GMT)
commitd3415791783dcdf6f6dedd2a878ea0e09aa39fc9 (patch)
tree99b72b5e5b3bd34ebfd910153d327d2f25a36077 /Doc/ref
parenta1e214a1ed23943702e880b18f5c03c9a86b8958 (diff)
downloadcpython-d3415791783dcdf6f6dedd2a878ea0e09aa39fc9.zip
cpython-d3415791783dcdf6f6dedd2a878ea0e09aa39fc9.tar.gz
cpython-d3415791783dcdf6f6dedd2a878ea0e09aa39fc9.tar.bz2
Fix error made in applying Thomas's patch.
Diffstat (limited to 'Doc/ref')
-rw-r--r--Doc/ref/ref5.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex
index 5d7a4c6..1abc6cb 100644
--- a/Doc/ref/ref5.tex
+++ b/Doc/ref/ref5.tex
@@ -153,7 +153,7 @@ square brackets:
\begin{verbatim}
list_display: "[" [listmaker] "]"
-listmaker: expression_list ( list_iter | ( "," expression)* [","] )
+listmaker: expression ( list_iter | ( "," expression)* [","] )
list_iter: list_for | list_if
list_for: "for" expression_list "in" testlist [list_iter]
list_if: "if" test [list_iter]