bpo-41624: fix documentation of typing.Coroutine (GH-21952)

This commit is contained in:
MingZhe Hu 2020-08-27 08:42:37 +08:00 committed by GitHub
parent 94ad6c674f
commit 8c58d2a216
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1 @@
Fix the signature of :class:`typing.Coroutine`.