diff options
author | Karthikeyan Singaravelan <tir.karthi@gmail.com> | 2020-08-28 15:06:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 15:06:31 (GMT) |
commit | c01a7edc67e2c2e13a6d9513f111f27761786e27 (patch) | |
tree | 5d74b667c485b87e5c0eb4d1ff7253ce3220d3c0 | |
parent | 7361451b97a30de0e758094ac83a1fb1f01ed5bb (diff) | |
download | cpython-c01a7edc67e2c2e13a6d9513f111f27761786e27.zip cpython-c01a7edc67e2c2e13a6d9513f111f27761786e27.tar.gz cpython-c01a7edc67e2c2e13a6d9513f111f27761786e27.tar.bz2 |
[3.9] bpo-41624: fix documentation of typing.Coroutine (GH-21952) (#21982)
(cherry picked from commit 8c58d2a)
Co-authored-by: MingZhe Hu <humingzhework@163.com>
Co-authored-by: MingZhe Hu <humingzhework@163.com>
-rw-r--r-- | Doc/library/typing.rst | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2020-08-25-15-11-23.bpo-41624.ddjJlN.rst | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 8208680..9f98f8c 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -1365,7 +1365,7 @@ Corresponding to other types in :mod:`collections.abc` Asynchronous programming """""""""""""""""""""""" -.. 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 diff --git a/Misc/NEWS.d/next/Documentation/2020-08-25-15-11-23.bpo-41624.ddjJlN.rst b/Misc/NEWS.d/next/Documentation/2020-08-25-15-11-23.bpo-41624.ddjJlN.rst new file mode 100644 index 0000000..bdbc5a4 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2020-08-25-15-11-23.bpo-41624.ddjJlN.rst @@ -0,0 +1 @@ +Fix the signature of :class:`typing.Coroutine`. |