[docs] Documentation error

Marc.Perlmutter at gdc4s.com Marc.Perlmutter at gdc4s.com
Wed Sep 25 14:35:21 CEST 2013


Found on:

http://docs.python.org/2.7/tutorial/datastructures.html

 

in Section 5.6. "Looping Techniques"

 

Correct the text from:

for i in reversed(xrange(1,10,2)):

 

to:

for i in reversed(range(1,10,2)):

 

Reason:

Python 2.7 does not have xrange function

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20130925/4fb488a6/attachment-0001.html>


More information about the docs mailing list