Skip to content

Support @abstractmethod #32

@tharvik

Description

@tharvik

In typeshed, there is some stubs which use @abstractmethod to specify that a child class should implement a given method. For now, it fails with

Error while parsing pyi:
  File "stdlib/2and3/distutils/cmd.pyi", line 10
    @abstractmethod
    ^
SyntaxError: Decorator 'abstractmethod' not supported

in typeshed#418.

It is used elsewhere, grep -r @abstractmethod | wc -l in typeshed gives 168 results.

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