summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-21 21:02:31 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-05-21 21:02:31 (GMT)
commita18cad543f72a4de79df3dca3d79a75e762420aa (patch)
tree5cc5a19ef5c595cd2606279f5ac86d903ac918ad /Doc/library
parentb5601586223f13f77a16ed64f16bea1ece063997 (diff)
downloadcpython-a18cad543f72a4de79df3dca3d79a75e762420aa.zip
cpython-a18cad543f72a4de79df3dca3d79a75e762420aa.tar.gz
cpython-a18cad543f72a4de79df3dca3d79a75e762420aa.tar.bz2
Issue 24180: Fixes by Berker Peksag.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/exceptions.rst1
-rw-r--r--Doc/library/inspect.rst12
2 files changed, 5 insertions, 8 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index 6162068..2209f16 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -328,7 +328,6 @@ The following exceptions are the exceptions that are usually raised.
:term:`asynchronous iterator` object to stop the iteration.
.. versionadded:: 3.5
- See also :pep:`492`.
.. exception:: SyntaxError
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index b3b4dd8..8318825 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -268,23 +268,21 @@ attributes:
.. function:: iscoroutinefunction(object)
- Return true if the object is a coroutine function.
+ Return true if the object is a :term:`coroutine function`.
Coroutine functions are defined with an ``async def`` syntax,
or are generators decorated with :func:`types.coroutine`
or :func:`asyncio.coroutine`.
- The function will return false for plain python generator
+ The function will return false for plain Python generator
functions.
- See also :pep:`492`.
-
.. versionadded:: 3.5
.. function:: iscoroutine(object)
- Return true if the object is a coroutine.
+ Return true if the object is a :term:`coroutine`.
Coroutines are results of calls of coroutine functions or
generator functions decorated with :func:`types.coroutine`
@@ -292,7 +290,7 @@ attributes:
The function will return false for plain python generators.
- See also :class:`collections.abc.Coroutine` and :pep:`492`.
+ See also :class:`collections.abc.Coroutine`.
.. versionadded:: 3.5
@@ -302,7 +300,7 @@ attributes:
Return true if the object can be used in :keyword:`await`
expression.
- See also :class:`collections.abc.Awaitable` and :pep:`492`.
+ See also :class:`collections.abc.Awaitable`.
.. versionadded:: 3.5