[Python-checkins] CVS: python/dist/src/Doc/ref ref5.tex,1.32,1.33
Fred L. Drake
python-dev@python.org
Tue, 15 Aug 2000 10:54:51 -0700
Update of /cvsroot/python/python/dist/src/Doc/ref
In directory slayer.i.sourceforge.net:/tmp/cvs-serv19223/ref
Modified Files:
ref5.tex
Log Message:
Thomas Wouters <thomas@xs4all.net>:
Update the grammar to reflect the most recent changes to list
comprehensions.
Index: ref5.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref5.tex,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** ref5.tex 2000/08/12 18:09:50 1.32
--- ref5.tex 2000/08/15 17:54:49 1.33
***************
*** 153,157 ****
\begin{verbatim}
! list_display: "[" [expression_list [list_iter]] "]"
list_iter: list_for | list_if
list_for: "for" expression_list "in" testlist [list_iter]
--- 153,158 ----
\begin{verbatim}
! list_display: "[" [listmaker] "]"
! listmaker: expression_list ( list_iter | ( "," expression)* [","] )
list_iter: list_for | list_if
list_for: "for" expression_list "in" testlist [list_iter]