Skip to content

Callable not validated properly as a base class #1220

@KotlinIsland

Description

@KotlinIsland

Summary

from collections.abc import Callable

class A(Callable[int]):  # no error
    pass

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions