We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e99c105 commit a7aaf72Copy full SHA for a7aaf72
1 file changed
importlib_metadata/__init__.py
@@ -1088,7 +1088,7 @@ def _get_toplevel_name(name: PackagePath) -> str:
1088
>>> _get_toplevel_name(PackagePath('foo.dist-info'))
1089
'foo.dist-info'
1090
"""
1091
- # We're deffering import of inspect to speed up overall import time
+ # Defer import of inspect for performance (python/cpython#118761)
1092
import inspect
1093
1094
return _topmost(name) or (
0 commit comments