Issue #26010: fix typos; rewording

This commit is contained in:
Yury Selivanov 2016-10-20 16:30:51 -04:00
parent a4b884f900
commit b738a1f8a4
1 changed files with 10 additions and 10 deletions

View File

@ -1253,25 +1253,26 @@ the following flags:
.. data:: CO_COROUTINE .. data:: CO_COROUTINE
The flag is set when the code object is a coroutine function, i.e. The flag is set when the code object is a coroutine function.
a coroutine object is returned when the code object is executed. See When the code object is executed it returns a coroutine object.
:pep:`492` for more details. See :pep:`492` for more details.
.. versionadded:: 3.5 .. versionadded:: 3.5
.. data:: CO_ITERABLE_COROUTINE .. data:: CO_ITERABLE_COROUTINE
Used to turn generators into generator-based coroutines. Generator The flag is used to transform generators into generator-based
objects with this flag can be used in ``await`` expression, and can coroutines. Generator objects with this flag can be used in
``yield from`` coroutine objects. See :pep:`492` for more details. ``await`` expression, and can ``yield from`` coroutine objects.
See :pep:`492` for more details.
.. versionadded:: 3.5 .. versionadded:: 3.5
.. data:: CO_ASYNC_GENERATOR .. data:: CO_ASYNC_GENERATOR
The flag is set when the code object is a asynchronous generator The flag is set when the code object is an asynchronous generator
function, i.e. an asynchronous generator object is returned when the function. When the code object is executed it returns an
code object is executed. See :pep:`525` for more details. asynchronous generator object. See :pep:`525` for more details.
.. versionadded:: 3.6 .. versionadded:: 3.6
@ -1283,7 +1284,6 @@ the following flags:
for any introspection needs. for any introspection needs.
.. _inspect-module-cli: .. _inspect-module-cli:
Command Line Interface Command Line Interface