pep-492: Few minor fixes.
This commit is contained in:
parent
fef77a92e3
commit
2caab858f1
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue