Kaydet (Commit) 67b8cad1 authored tarafından Georg Brandl's avatar Georg Brandl

Clarify xrange() entry.

üst 37475a8d
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment