Skip to content

CLN: remove abc.abstractproperty from code base #26166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 21, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions pandas/io/excel/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,14 +600,16 @@ def __new__(cls, path, engine=None, **kwargs):
curr_sheet = None
path = None

@abc.abstractproperty
@property
@abc.abstractmethod
def supported_extensions(self):
"extensions that writer engine supports"
"""Extensions that writer engine supports."""
pass

@abc.abstractproperty
@property
@abc.abstractmethod
def engine(self):
"name of engine"
"""Name of engine."""
pass

@abc.abstractmethod
Expand Down