mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
[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>
This commit is contained in:
parent
7361451b97
commit
c01a7edc67
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
Fix the signature of :class:`typing.Coroutine`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue