Commit b87ba269 authored by Raymond Hettinger's avatar Raymond Hettinger

Typo fixups.

parent d53ee5dd
...@@ -442,8 +442,8 @@ Some smaller changes made to the core Python language are: ...@@ -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 ...@@ -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
......
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