[Python-checkins] peps: pep-0492: Minor edits
yury.selivanov
python-checkins at python.org
Tue May 5 01:11:00 CEST 2015
https://hg.python.org/peps/rev/4f4df783a1c1
changeset: 5818:4f4df783a1c1
user: Yury Selivanov <yselivanov at sprymix.com>
date: Mon May 04 19:10:57 2015 -0400
summary:
pep-0492: Minor edits
files:
pep-0492.txt | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/pep-0492.txt b/pep-0492.txt
--- a/pep-0492.txt
+++ b/pep-0492.txt
@@ -25,8 +25,7 @@
model of asynchronous programming in Python and make it as close to
synchronous programming as possible.
-This PEP improves upon PEP 342, and, in a sense, supercedes it. We
-believe that the changes proposed here will help keep Python
+We believe that the changes proposed here will help keep Python
relevant and competitive in a quickly growing area of asynchronous
programming, as many other languages have adopted, or are planning to
adopt, similar features: [2]_, [5]_, [6]_, [7]_, [8]_, [10]_.
@@ -691,7 +690,7 @@
* ``inspect.isawaitable(obj)`` returns ``True`` if ``obj`` can be used
in ``await`` expression. See `Await Expression`_ for details.
-* ``sys.set_coroutine_wrapper(wraper)`` allows to intercept creation of
+* ``sys.set_coroutine_wrapper(wrapper)`` allows to intercept creation of
*coroutine objects*. ``wraper`` must be a callable that accepts one
argument: a *coroutine object* or ``None``. ``None`` resets the
wrapper. If called twice, the new wrapper replaces the previous one.
--
Repository URL: https://hg.python.org/peps
More information about the Python-checkins
mailing list