[New-bugs-announce] [issue41624] typing.Coroutine documentation

MingZhe Hu report at bugs.python.org
Mon Aug 24 08:33:44 EDT 2020


New submission from MingZhe Hu <humingzhework at 163.com>:

The documentation [1] for Coroutine in typing library writes:

class typing.Coroutine(Awaitable[V_co], Generic[T_co T_contra, V_co])

which should be:

class typing.Coroutine(Awaitable[V_co], Generic[T_co, T_contra, V_co])

a comma is missed between the first type variable T_co and the second one T_contr.

[1] https://docs.python.org/3/library/typing.html#typing.Generic

----------
assignee: docs at python
components: Documentation
messages: 375841
nosy: Elaphurus, docs at python
priority: normal
severity: normal
status: open
title: typing.Coroutine documentation
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41624>
_______________________________________


More information about the New-bugs-announce mailing list