pep-492: Few minor fixes.

This commit is contained in:
Yury Selivanov 2015-05-18 13:32:41 -04:00
parent fef77a92e3
commit 2caab858f1
1 changed files with 2 additions and 2 deletions

View File

@ -1331,8 +1331,8 @@ List of high-level changes and new protocols
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.