summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref5.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-06-27 17:12:43 (GMT)
committerFred Drake <fdrake@acm.org>2003-06-27 17:12:43 (GMT)
commit25b5358cf2bfb12b8e1c24455688787e57243573 (patch)
tree3bb485e0cef4a9392d9eb6a5ddaa5fdcfbe969ec /Doc/ref/ref5.tex
parentf8ecde5de00ad4b11cd1f80aae0f0bd5b99fc66c (diff)
downloadcpython-25b5358cf2bfb12b8e1c24455688787e57243573.zip
cpython-25b5358cf2bfb12b8e1c24455688787e57243573.tar.gz
cpython-25b5358cf2bfb12b8e1c24455688787e57243573.tar.bz2
Add definitions of the test and testlist symbols in the grammar so
there are no gaps in the definitions. Closes SF bug #726150.
Diffstat (limited to 'Doc/ref/ref5.tex')
-rw-r--r--Doc/ref/ref5.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex
index 4949d22..df7ac70 100644
--- a/Doc/ref/ref5.tex
+++ b/Doc/ref/ref5.tex
@@ -153,6 +153,11 @@ A list display is a possibly empty series of expressions enclosed in
square brackets:
\begin{productionlist}
+ \production{test}
+ {\token{and_test} ( "or" \token{and_test} )*
+ | \token{lambda_form}}
+ \production{testlist}
+ {\token{test} ( "," \token{test} )* [ "," ]}
\production{list_display}
{"[" [\token{listmaker}] "]"}
\production{listmaker}