summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorKarthikeyan Singaravelan <tir.karthi@gmail.com>2020-08-28 15:03:40 (GMT)
committerGitHub <noreply@github.com>2020-08-28 15:03:40 (GMT)
commit838316db08a8e3174e4cf8db233ff69d388b3f5c (patch)
tree2348eb8d83fd0990a189491fcb8c11ca1f37a05b /Doc/library
parent641279e6e51b5d2e10d3fbffe6330e47c94c4bb2 (diff)
downloadcpython-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.rst2
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