Skip to content

Allow function variants with different signatures to be conditioned on sys.version_info #1801

@elazarg

Description

@elazarg

Function signature may vary between versions, see e.g. dis.dis. But encoding it on typeshed is not supported by mypy:

error: All conditional function variants must have identical signatures

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions