Skip to content

Callable is a class #1178

@KotlinIsland

Description

@KotlinIsland

Describe the Bug

from collections.abc import Callable

class A(Callable):  # invalid base class
    pass

A()

very relevant: python/typeshed#14761

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions