Skip to content

abc.abstractproperty is deprecated since 3.3 #266

@sobolevn

Description

@sobolevn

Locations:

  1. @abc.abstractproperty

Docs: https://docs.python.org/3/library/abc.html#abc.abstractproperty

Instead one should use:

@property 
@abc.abstractmethod
def ...

I will send a PR to change this to a new API. Maybe there are reasons why it should stay as-is?

Found in python/mypy#13647

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