[Python-checkins] peps: pep-492: Few minor fixes.
yury.selivanov
python-checkins at python.org
Mon May 18 19:32:44 CEST 2015
https://hg.python.org/peps/rev/a504b339f54d
changeset: 5860:a504b339f54d
user: Yury Selivanov <yselivanov at sprymix.com>
date: Mon May 18 13:32:41 2015 -0400
summary:
pep-492: Few minor fixes.
files:
pep-0492.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pep-0492.txt b/pep-0492.txt
--- a/pep-0492.txt
+++ b/pep-0492.txt
@@ -1331,8 +1331,8 @@
6. New functions: ``sys.set_coroutine_wrapper(callback)``,
``sys.get_coroutine_wrapper()``, ``types.coroutine(gen)``,
- ``inspect.iscoroutinefunction()``, ``inspect.iscoroutine()``,
- and ``inspect.isawaitable()``.
+ ``inspect.iscoroutinefunction(func)``, ``inspect.iscoroutine(obj)``,
+ and ``inspect.isawaitable(obj)``.
7. New ``CO_COROUTINE`` and ``CO_ITERABLE_COROUTINE`` bit flags for code
objects.
--
Repository URL: https://hg.python.org/peps
More information about the Python-checkins
mailing list