aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/importlib/resources/abc.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2023-01-01 11:07:32 -0500
committerGitHub <noreply@github.com>2023-01-01 11:07:32 -0500
commit447d061bc7b978afedd3b0148715d2153ac726c5 (patch)
tree428d5a7728ab02bd84ffe8ddccce5f01b0265e8e /Lib/importlib/resources/abc.py
parentba1342ce998c6c0c36078411d169f29179fbc9f6 (diff)
downloadcpython-447d061bc7b978afedd3b0148715d2153ac726c5.tar.gz
cpython-447d061bc7b978afedd3b0148715d2153ac726c5.zip
gh-97930: Apply changes from importlib_resources 5.10. (GH-100598)
Diffstat (limited to 'Lib/importlib/resources/abc.py')
-rw-r--r--Lib/importlib/resources/abc.py3
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.