]> granicus.if.org Git - python/commitdiff
Add definitions of the test and testlist symbols in the grammar so
authorFred Drake <fdrake@acm.org>
Fri, 27 Jun 2003 17:12:43 +0000 (17:12 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 27 Jun 2003 17:12:43 +0000 (17:12 +0000)
there are no gaps in the definitions.
Closes SF bug #726150.

Doc/ref/ref5.tex

index 4949d22d8ef5b8c4da0990c9508befc67edd76b5..df7ac70b7d9ea2d8d8c2501c3236624a4d24f425 100644 (file)
@@ -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}