Typo fixups.

This commit is contained in:
Raymond Hettinger 2010-12-06 04:31:40 +00:00
parent d53ee5dd12
commit b87ba269e0

View file

@ -442,8 +442,8 @@ Some smaller changes made to the core Python language are:
in :issue:`2690`.) in :issue:`2690`.)
* The :func:`callable` builtin function from Py2.x was resurrected. It provides * The :func:`callable` builtin function from Py2.x was resurrected. It provides
a concise, readable alternative to using an :term:`abstract base class` to in a concise, readable alternative to using an :term:`abstract base class` in an
an expression like ``isinstance(x, collections.Callable)``. expression like ``isinstance(x, collections.Callable)``.
(See :issue:`10518`.) (See :issue:`10518`.)
@ -478,7 +478,7 @@ New, Improved, and Deprecated Modules
>>> get_phone_number.cache_clear() >>> get_phone_number.cache_clear()
(Contributed by Raymond Hettinger and incorporating design ideas from (Contributed by Raymond Hettinger and incorporating design ideas from
Jim Baker, Miki Tebeka, and Nick Coglan.) Jim Baker, Miki Tebeka, and Nick Coghlan.)
* The :func:`functools.wraps` decorator now adds a :attr:`__wrapped__` attribute * The :func:`functools.wraps` decorator now adds a :attr:`__wrapped__` attribute
pointing to the original callable function. This allows wrapped functions to pointing to the original callable function. This allows wrapped functions to