summaryrefslogtreecommitdiff
path: root/doc/python3.rst
diff options
context:
space:
mode:
authorFabien Meghazi <fme@odoo.com>2017-10-31 09:57:48 +0100
committerFabien Meghazi <fme@odoo.com>2017-10-31 09:57:48 +0100
commitdf0cc479fc28dae2dee6456a7eb8c3c21b6b4ecc (patch)
treeb98d3b878d77b3a63867ed39a1d2e49e0b54700b /doc/python3.rst
parentba9381ed2a4765dc5f5f8d18c0e13085ba717815 (diff)
[FIX] doc: fix typo
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