Skip to content

Commit

Permalink
Use third-person imperative voice and link to issue in comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 20, 2024
1 parent e99c105 commit a7aaf72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion importlib_metadata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ def _get_toplevel_name(name: PackagePath) -> str:
>>> _get_toplevel_name(PackagePath('foo.dist-info'))
'foo.dist-info'
"""
# We're deffering import of inspect to speed up overall import time
# Defer import of inspect for performance (python/cpython#118761)
import inspect

return _topmost(name) or (
Expand Down

0 comments on commit a7aaf72

Please sign in to comment.