[Python-checkins] python/nondist/peps pep-0290.txt,1.13,1.14
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Tue May 4 04:24:18 EDT 2004
Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27695
Modified Files:
pep-0290.txt
Log Message:
Fix markup.
Index: pep-0290.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0290.txt,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** pep-0290.txt 18 Mar 2004 07:38:37 -0000 1.13
--- pep-0290.txt 4 May 2004 08:24:05 -0000 1.14
***************
*** 194,203 ****
print value
! Alternative original code expressed with extending slicing:
for value in seqn[::-1]:
print value
! Revised code using the ``reversed`` function:
for value in reversed(seqn):
--- 194,203 ----
print value
! Alternative original code expressed with extending slicing::
for value in seqn[::-1]:
print value
! Revised code using the ``reversed`` function::
for value in reversed(seqn):
More information about the Python-checkins
mailing list