diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-15 15:13:17 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-15 15:13:17 (GMT) |
commit | 7d49bc99113c817a7d7c127ebdef674680d567df (patch) | |
tree | a8a8de090af893adbb81352311b5e57da77b31d2 /Doc/whatsnew/3.2.rst | |
parent | d30520075584cdf76ce9ea586fd9b2c60843e5e1 (diff) | |
download | cpython-7d49bc99113c817a7d7c127ebdef674680d567df.zip cpython-7d49bc99113c817a7d7c127ebdef674680d567df.tar.gz cpython-7d49bc99113c817a7d7c127ebdef674680d567df.tar.bz2 |
Move library changes to the right section
Diffstat (limited to 'Doc/whatsnew/3.2.rst')
-rw-r--r-- | Doc/whatsnew/3.2.rst | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 7c9d561..609511b 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -217,20 +217,6 @@ Some smaller changes made to the core Python language are: (Added by Antoine Pitrou; :issue:`9757`.) -* The :func:`functools.wraps` decorator now adds a :attr:`__wrapped__` attribute - pointing to the original callable function. This allows wrapped functions to - be introspected. It also copies :attr:`__annotations__` if defined. And now - it also gracefully skips over missing attributes such as :attr:`__doc__` which - might not be defined for the wrapped callable. - - (By Nick Coghlan and Terrence Cole; :issue:`9567`, :issue:`3445`, and - :issue:`8814`.) - -* The :mod:`abc` module now supports :func:`~abc.abstractclassmethod` and - :func:`~abc.abstractstaticmethod`. - - (Patch submitted by Daniel Urban; :issue:`5867`.) - * A warning message will now get printed at interpreter shutdown if the :data:`gc.garbage` list isn't empty. This is meant to make the programmer aware that their code contains object finalization issues. @@ -304,6 +290,20 @@ New, Improved, and Deprecated Modules (Contributed by Raymond Hettinger.) +* The :func:`functools.wraps` decorator now adds a :attr:`__wrapped__` attribute + pointing to the original callable function. This allows wrapped functions to + be introspected. It also copies :attr:`__annotations__` if defined. And now + it also gracefully skips over missing attributes such as :attr:`__doc__` which + might not be defined for the wrapped callable. + + (By Nick Coghlan and Terrence Cole; :issue:`9567`, :issue:`3445`, and + :issue:`8814`.) + +* The :mod:`abc` module now supports :func:`~abc.abstractclassmethod` and + :func:`~abc.abstractstaticmethod`. + + (Patch submitted by Daniel Urban; :issue:`5867`.) + * The previously deprecated :func:`contextlib.nested` function has been removed in favor of a plain :keyword:`with` statement which can accept multiple context managers. The latter technique is faster (because it is built-in), |