[Python-checkins] cpython (3.6): Issue #26010: fix typos; rewording

yury.selivanov python-checkins at python.org
Thu Oct 20 16:31:21 EDT 2016


https://hg.python.org/cpython/rev/761414979de5
changeset: 104590:761414979de5
branch: 3.6
parent: 104588:cfe2109ce2c0
user: Yury Selivanov <yury at magic.io>
date: Thu Oct 20 16:30:51 2016 -0400
summary:
 Issue #26010: fix typos; rewording
files:
 Doc/library/inspect.rst | 20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -1253,25 +1253,26 @@
 
 .. 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 @@
 for any introspection needs.
 
 
-
 .. _inspect-module-cli:
 
 Command Line Interface
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /