From 67b8cad16a2497c627aaa515851d3f9d637a5aec Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 9 Apr 2008 07:32:07 +0000 Subject: [PATCH] Clarify xrange() entry. --- Doc/whatsnew/3.0.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst index 94545c542fa..7f8ba47b36f 100644 --- a/Doc/whatsnew/3.0.rst +++ b/Doc/whatsnew/3.0.rst @@ -301,7 +301,8 @@ language and built-in functions. terminated prematurely. To get the old behavior of :func:`input`, use ``eval(input())``. -* :func:`xrange` renamed to :func:`range`. +* :func:`xrange` renamed to :func:`range`, so :func:`range` will no longer + produce a list but an iterable yielding integers when iterated over. * PEP 3113: Tuple parameter unpacking removed. You can no longer write ``def foo(a, (b, c)): ...``. Use ``def foo(a, b_c): b, c = b_c`` instead.