Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d341579

Browse files
committed
Fix error made in applying Thomas's patch.
1 parent a1e214a commit d341579

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/ref/ref5.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ \subsection{List displays\label{lists}}
153153

154154
\begin{verbatim}
155155
list_display: "[" [listmaker] "]"
156-
listmaker: expression_list ( list_iter | ( "," expression)* [","] )
156+
listmaker: expression ( list_iter | ( "," expression)* [","] )
157157
list_iter: list_for | list_if
158158
list_for: "for" expression_list "in" testlist [list_iter]
159159
list_if: "if" test [list_iter]

0 commit comments

Comments
 (0)