From df0cc479fc28dae2dee6456a7eb8c3c21b6b4ecc Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Tue, 31 Oct 2017 09:57:48 +0100 Subject: [FIX] doc: fix typo --- doc/python3.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/python3.rst') 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 -- cgit v1.2.3