diff options
Diffstat (limited to 'Lib/importlib/resources/abc.py')
-rw-r--r-- | Lib/importlib/resources/abc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/importlib/resources/abc.py b/Lib/importlib/resources/abc.py index 67c78c07856..6750a7aaf14 100644 --- a/Lib/importlib/resources/abc.py +++ b/Lib/importlib/resources/abc.py @@ -142,7 +142,8 @@ class Traversable(Protocol): accepted by io.TextIOWrapper. """ - @abc.abstractproperty + @property + @abc.abstractmethod def name(self) -> str: """ The base name of this object without any parent references. |