Skip to content

Commit

Permalink
Add comment to protect the deferred import.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Sep 11, 2024
1 parent 76eebe0 commit d11b67f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions importlib_metadata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,7 @@ def children(self):
return []

def zip_children(self):
# deferred for performance (python/importlib_metadata#502)
from zipp.compat.overlay import zipfile

zip_path = zipfile.Path(self.root)
Expand Down

0 comments on commit d11b67f

Please sign in to comment.