Fix error made in applying Thomas's patch.

This commit is contained in:
Fred Drake 2000-08-15 18:44:10 +00:00
parent a1e214a1ed
commit d341579178
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ square brackets:
\begin{verbatim}
list_display: "[" [listmaker] "]"
listmaker: expression_list ( list_iter | ( "," expression)* [","] )
listmaker: expression ( list_iter | ( "," expression)* [","] )
list_iter: list_for | list_if
list_for: "for" expression_list "in" testlist [list_iter]
list_if: "if" test [list_iter]