Skip to content

Commit 17f614e

Browse files
committed
Remove the code wrongly restored in 96f14c2
1 parent 691a82a commit 17f614e

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Lib/importlib/abc.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,6 @@
2222
]
2323

2424

25-
def __getattr__(name):
26-
"""
27-
For backwards compatibility, continue to make names
28-
from _resources_abc available through this module. #93963
29-
"""
30-
if name in _resources_abc.__all__:
31-
obj = getattr(_resources_abc, name)
32-
warnings._deprecated(f"{__name__}.{name}", remove=(3, 14))
33-
globals()[name] = obj
34-
return obj
35-
raise AttributeError(f'module {__name__!r} has no attribute {name!r}')
36-
37-
3825
def _register(abstract_cls, *classes):
3926
for cls in classes:
4027
abstract_cls.register(cls)

0 commit comments

Comments
 (0)