Skip to content

Commit d11b67f

Browse files
committed
Add comment to protect the deferred import.
1 parent 76eebe0 commit d11b67f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

importlib_metadata/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,7 @@ def children(self):
775775
return []
776776

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

780781
zip_path = zipfile.Path(self.root)

0 commit comments

Comments
 (0)