From: Fred Drake Date: Fri, 27 Jun 2003 17:12:43 +0000 (+0000) Subject: Add definitions of the test and testlist symbols in the grammar so X-Git-Tag: v2.3c1~311 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=25b5358cf2bfb12b8e1c24455688787e57243573;p=python Add definitions of the test and testlist symbols in the grammar so there are no gaps in the definitions. Closes SF bug #726150. --- diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index 4949d22d8e..df7ac70b7d 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}