Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c58d2a

Browse files
authored
bpo-41624: fix documentation of typing.Coroutine (GH-21952)
1 parent 94ad6c6 commit 8c58d2a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1365,7 +1365,7 @@ Corresponding to other types in :mod:`collections.abc`
13651365
Asynchronous programming
13661366
""""""""""""""""""""""""
13671367

1368-
.. class:: Coroutine(Awaitable[V_co], Generic[T_co T_contra, V_co])
1368+
.. class:: Coroutine(Awaitable[V_co], Generic[T_co, T_contra, V_co])
13691369

13701370
A generic version of :class:`collections.abc.Coroutine`.
13711371
The variance and order of type variables
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix the signature of :class:`typing.Coroutine`.

0 commit comments

Comments
 (0)