diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index 5d7a4c6aaa5..1abc6cb021d 100644 --- a/Doc/ref/ref5.tex +++ b/Doc/ref/ref5.tex @@ -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]