From 448627254f5d8356964be4408cae97348a0ba4b5 Mon Sep 17 00:00:00 2001 From: tp Date: Sat, 20 Apr 2019 22:11:26 +0100 Subject: [PATCH] CLN: remove abc.abstractproperty --- pandas/io/excel/_base.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index b99908fd902c8..301647bf29e35 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -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