]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Undo one backport too many.
authorRaymond Hettinger <python@rcn.com>
Sat, 20 Dec 2003 20:16:11 +0000 (20:16 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 20 Dec 2003 20:16:11 +0000 (20:16 +0000)
Doc/tut/tut.tex

index 77822c44bbef4820e48a9d7ee286e8f6bd06199a..403f3d52ff2bac23728293b3043b08f204edbec7 100644 (file)
@@ -2159,21 +2159,6 @@ What is your quest?  It is the holy grail.
 What is your favorite color?  It is blue.
 \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}}