diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-10-12 10:42:08 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-10-12 10:42:08 (GMT) |
commit | 7fa822275bb9744440f1636345319feaf1669126 (patch) | |
tree | 02f85dc0dcd510c1a8516dcd2f59c11940f3d979 /Doc/whatsnew/3.0.rst | |
parent | 35cbf16202d2bb6ed8ca6b51f8513f71d9d41ccc (diff) | |
download | cpython-7fa822275bb9744440f1636345319feaf1669126.zip cpython-7fa822275bb9744440f1636345319feaf1669126.tar.gz cpython-7fa822275bb9744440f1636345319feaf1669126.tar.bz2 |
Fix links to the __next__ method.
Diffstat (limited to 'Doc/whatsnew/3.0.rst')
-rw-r--r-- | Doc/whatsnew/3.0.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst index 55b65ba..9f1ec97 100644 --- a/Doc/whatsnew/3.0.rst +++ b/Doc/whatsnew/3.0.rst @@ -771,7 +771,7 @@ Operators And Special Methods respectively). * :pep:`3114`: the standard :meth:`next` method has been renamed to - :meth:`__next__`. + :meth:`~iterator.__next__`. * The :meth:`__oct__` and :meth:`__hex__` special methods are removed -- :func:`oct` and :func:`hex` use :meth:`__index__` now to convert @@ -807,7 +807,7 @@ Builtins To get the old behavior of :func:`input`, use ``eval(input())``. * A new built-in function :func:`next` was added to call the - :meth:`__next__` method on an object. + :meth:`~iterator.__next__` method on an object. * The :func:`round` function rounding strategy and return type have changed. Exact halfway cases are now rounded to the nearest even |