diff options
author | Karthikeyan Singaravelan <tir.karthi@gmail.com> | 2020-08-28 15:03:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 15:03:40 (GMT) |
commit | 838316db08a8e3174e4cf8db233ff69d388b3f5c (patch) | |
tree | 2348eb8d83fd0990a189491fcb8c11ca1f37a05b /Doc/library | |
parent | 641279e6e51b5d2e10d3fbffe6330e47c94c4bb2 (diff) | |
download | cpython-838316db08a8e3174e4cf8db233ff69d388b3f5c.zip cpython-838316db08a8e3174e4cf8db233ff69d388b3f5c.tar.gz cpython-838316db08a8e3174e4cf8db233ff69d388b3f5c.tar.bz2 |
[3.8] bpo-41624: fix documentation of typing.Coroutine (GH-21952). (#21983)
(cherry picked from commit 8c58d2a216ca2b5965361df9b8d8944bc7d4854d)
Co-authored-by: MingZhe Hu <humingzhework@163.com>
Co-authored-by: MingZhe Hu <humingzhework@163.com>
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/typing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 405562b..0706bc8 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -733,7 +733,7 @@ The module defines the following classes, functions and decorators: .. versionadded:: 3.5.2 -.. class:: Coroutine(Awaitable[V_co], Generic[T_co T_contra, V_co]) +.. class:: Coroutine(Awaitable[V_co], Generic[T_co, T_contra, V_co]) A generic version of :class:`collections.abc.Coroutine`. The variance and order of type variables |