Skip to content

(🐞) No error with disallow-any-generics and type #12301

@KotlinIsland

Description

@KotlinIsland
d: dict  # error
l: list  # error
s: set  # error
t: type  # no error

https://mypy-play.net/?mypy=latest&python=3.10&flags=disallow-any-generics&gist=9bb896250b5e40e0b9cbf0234d46281e

One of the causes of: #12300

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmypy got something wrongtopic-pep-585PEP 585 (builtin generics)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions