From: Fred Drake Date: Fri, 27 Jun 2003 17:13:17 +0000 (+0000) Subject: Add definitions of the test and testlist symbols in the grammar so X-Git-Tag: 2.2~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5032dfe79792b1fadad01fde5497f4dc7a3c60e7;p=thirdparty%2FPython%2Fcpython.git 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 f28163278dc7..9efd1a78be10 100644 --- a/Doc/ref/ref5.tex +++ b/Doc/ref/ref5.tex @@ -169,6 +169,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}