summaryrefslogtreecommitdiffstats
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2016-10-20 20:30:51 (GMT)
committerYury Selivanov <yury@magic.io>2016-10-20 20:30:51 (GMT)
commitb738a1f8a4851dc5395673aea0c8c827cd9d771c (patch)
treeb5891586749da0eea3aa12c9d6a969d58e68e7f9 /Doc/library/inspect.rst
parenta4b884f9009e9797e8bb7f8c9e797b4f033dd37e (diff)
downloadcpython-b738a1f8a4851dc5395673aea0c8c827cd9d771c.zip
cpython-b738a1f8a4851dc5395673aea0c8c827cd9d771c.tar.gz
cpython-b738a1f8a4851dc5395673aea0c8c827cd9d771c.tar.bz2
Issue #26010: fix typos; rewording
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r--Doc/library/inspect.rst20
1 files changed, 10 insertions, 10 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 58e37a3..fc815a6 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -1253,25 +1253,26 @@ the following flags:
.. data:: CO_COROUTINE
- The flag is set when the code object is a coroutine function, i.e.
- a coroutine object is returned when the code object is executed. See
- :pep:`492` for more details.
+ The flag is set when the code object is a coroutine function.
+ When the code object is executed it returns a coroutine object.
+ See :pep:`492` for more details.
.. versionadded:: 3.5
.. data:: CO_ITERABLE_COROUTINE
- Used to turn generators into generator-based coroutines. Generator
- objects with this flag can be used in ``await`` expression, and can
- ``yield from`` coroutine objects. See :pep:`492` for more details.
+ The flag is used to transform generators into generator-based
+ coroutines. Generator objects with this flag can be used in
+ ``await`` expression, and can ``yield from`` coroutine objects.
+ See :pep:`492` for more details.
.. versionadded:: 3.5
.. data:: CO_ASYNC_GENERATOR
- The flag is set when the code object is a asynchronous generator
- function, i.e. an asynchronous generator object is returned when the
- code object is executed. See :pep:`525` for more details.
+ The flag is set when the code object is an asynchronous generator
+ function. When the code object is executed it returns an
+ asynchronous generator object. See :pep:`525` for more details.
.. versionadded:: 3.6
@@ -1283,7 +1284,6 @@ the following flags:
for any introspection needs.
-
.. _inspect-module-cli:
Command Line Interface