Add definitions of the test and testlist symbols in the grammar so

there are no gaps in the definitions.
Closes SF bug #726150.
This commit is contained in:
Fred Drake 2003-06-27 17:12:43 +00:00
parent f8ecde5de0
commit 25b5358cf2
1 changed files with 5 additions and 0 deletions

View 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}