Skip to content

Commit

Permalink
Remove the code wrongly restored in 96f14c2
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jul 24, 2022
1 parent 691a82a commit 17f614e
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions Lib/importlib/abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,6 @@
]


def __getattr__(name):
"""
For backwards compatibility, continue to make names
from _resources_abc available through this module. #93963
"""
if name in _resources_abc.__all__:
obj = getattr(_resources_abc, name)
warnings._deprecated(f"{__name__}.{name}", remove=(3, 14))
globals()[name] = obj
return obj
raise AttributeError(f'module {__name__!r} has no attribute {name!r}')


def _register(abstract_cls, *classes):
for cls in classes:
abstract_cls.register(cls)
Expand Down

0 comments on commit 17f614e

Please sign in to comment.