diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-11-02 13:44:53 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-11-02 13:44:53 +0100 |
| commit | 9a32dacd8c30860b24ea191f16f7d0ade6d9c3b2 (patch) | |
| tree | 6fe30958ff15bbd759563d06f0b6a1813d95247a /doc/python3.rst | |
| parent | dafc3fb7928b3e1325d61060f7402fb148675347 (diff) | |
| parent | ee2b9fae3519c2494f34dacf15d0a3b5bd8fbd06 (diff) | |
[MERGE] forward port branch 11.0 up to ee2b9fae351
Diffstat (limited to 'doc/python3.rst')
| -rw-r--r-- | doc/python3.rst | 2 |
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 |
