diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-10-12 10:45:38 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-10-12 10:45:38 (GMT) |
commit | 1dd7c304194572c3c5e6fd943bc0aac49a4c481c (patch) | |
tree | 8ccaddd376941640718f3795c098d5a6b515dac4 /Doc/whatsnew | |
parent | eb818193b3445f592b26804b2030fff81625e116 (diff) | |
parent | 7fa822275bb9744440f1636345319feaf1669126 (diff) | |
download | cpython-1dd7c304194572c3c5e6fd943bc0aac49a4c481c.zip cpython-1dd7c304194572c3c5e6fd943bc0aac49a4c481c.tar.gz cpython-1dd7c304194572c3c5e6fd943bc0aac49a4c481c.tar.bz2 |
Merge __next__ method link fixes with 3.2.
Diffstat (limited to 'Doc/whatsnew')
-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 762977c..7782663 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 |