summaryrefslogtreecommitdiff
path: root/doc/python3.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/python3.rst')
-rw-r--r--doc/python3.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python3.rst b/doc/python3.rst
index dc063c2b145..88475d7dc4a 100644
--- a/doc/python3.rst
+++ b/doc/python3.rst
@@ -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