[Python-checkins] python/dist/src/Doc/tut tut.tex, 1.196.8.14,
1.196.8.15
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Sat Dec 20 15:16:14 EST 2003
Update of /cvsroot/python/python/dist/src/Doc/tut
In directory sc8-pr-cvs1:/tmp/cvs-serv15948
Modified Files:
Tag: release23-maint
tut.tex
Log Message:
Undo one backport too many.
Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.196.8.14
retrieving revision 1.196.8.15
diff -C2 -d -r1.196.8.14 -r1.196.8.15
*** tut.tex 7 Dec 2003 11:15:16 -0000 1.196.8.14
--- tut.tex 20 Dec 2003 20:16:11 -0000 1.196.8.15
***************
*** 2160,2178 ****
\end{verbatim}
- To loop over a sequence in reverse, first specify the sequence
- in a forward direction and then call the \function{reversed()}
- function.
-
- \begin{verbatim}
- >>> for i in reversed(xrange(1,10,2)):
- ... print i
- ...
- 9
- 7
- 5
- 3
- 1
- \end{verbatim}
-
\section{More on Conditions \label{conditions}}
--- 2160,2163 ----
More information about the Python-checkins
mailing list