diff options
| author | Yury Selivanov <yselivanov@sprymix.com> | 2016-02-13 18:00:31 -0500 |
|---|---|---|
| committer | Yury Selivanov <yselivanov@sprymix.com> | 2016-02-13 18:00:31 -0500 |
| commit | 3e48b38dffdf09f42d43a1cd4a9308ec894b911b (patch) | |
| tree | cccec6bb285f157f8d6135811337212ebc29038b /Doc/reference/datamodel.rst | |
| parent | 6f79c2c826e825d3c0ecb48d4026dbf06d6872e1 (diff) | |
| parent | 77c96813ab8007ffe720c47761f44d786683a190 (diff) | |
| download | cpython-git-3e48b38dffdf09f42d43a1cd4a9308ec894b911b.tar.gz | |
Merge 3.5 (issue #25887)
Diffstat (limited to 'Doc/reference/datamodel.rst')
| -rw-r--r-- | Doc/reference/datamodel.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 56ec0d0bee..f1beadb693 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``, |
