Skip to content

Commit 258f787

Browse files
topper-123jreback
authored andcommitted
CLN: remove abc.abstractproperty (#26166)
1 parent 150eddf commit 258f787

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pandas/io/excel/_base.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -597,14 +597,16 @@ def __new__(cls, path, engine=None, **kwargs):
597597
curr_sheet = None
598598
path = None
599599

600-
@abc.abstractproperty
600+
@property
601+
@abc.abstractmethod
601602
def supported_extensions(self):
602-
"extensions that writer engine supports"
603+
"""Extensions that writer engine supports."""
603604
pass
604605

605-
@abc.abstractproperty
606+
@property
607+
@abc.abstractmethod
606608
def engine(self):
607-
"name of engine"
609+
"""Name of engine."""
608610
pass
609611

610612
@abc.abstractmethod

0 commit comments

Comments
 (0)