summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2016-02-13 23:00:31 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2016-02-13 23:00:31 (GMT)
commit3e48b38dffdf09f42d43a1cd4a9308ec894b911b (patch)
treecccec6bb285f157f8d6135811337212ebc29038b /Doc
parent6f79c2c826e825d3c0ecb48d4026dbf06d6872e1 (diff)
parent77c96813ab8007ffe720c47761f44d786683a190 (diff)
downloadcpython-3e48b38dffdf09f42d43a1cd4a9308ec894b911b.zip
cpython-3e48b38dffdf09f42d43a1cd4a9308ec894b911b.tar.gz
cpython-3e48b38dffdf09f42d43a1cd4a9308ec894b911b.tar.bz2
Merge 3.5 (issue #25887)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/reference/datamodel.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 56ec0d0..f1beadb 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -2317,6 +2317,10 @@ Coroutines also have the methods listed below, which are analogous to
those of generators (see :ref:`generator-methods`). However, unlike
generators, coroutines do not directly support iteration.
+.. versionchanged:: 3.5.2
+ It is a :exc:`RuntimeError` to await on a coroutine more than once.
+
+
.. method:: coroutine.send(value)
Starts or resumes execution of the coroutine. If *value* is ``None``,