[FIX] doc: fix typo

This commit is contained in:
Fabien Meghazi
2017-10-31 09:57:48 +01:00
parent ba9381ed2a
commit df0cc479fc
+1 -1
View File
@@ -338,7 +338,7 @@ code by replacing it with some other method altogether.
``xrange``
##########
In Python 3, ``range()`` behaves the same as Python 3's ``xrange``.
In Python 3, ``range()`` behaves the same as Python 2's ``xrange``.
For cross-version code, you can just use ``range()`` everywhere: while this
will incur a slight allocation cost on Python 2, Python 3's ``range`` supports