Closed as not planned
Description
Since PEP 585 implemented in Python 3.9, one can use the generics syntax even with built-in collections, not just those included in typing
(e.g. list
vs. typing.List
).
As such, in the screenshot below, the type hint for argument c
isn't highlighted properly. In list[int]
, both list
and int
should be highlighted, whereas only int
is highlighted currently. The type hint for argument b
is highlighted correctly (and same for a
).
Metadata
Metadata
Assignees
Labels
No labels