Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1b52d5b

Browse files
committed
Apply changes from importlib_metadata
1 parent dcb580f commit 1b52d5b

9 files changed

Lines changed: 964 additions & 969 deletions

File tree

Lib/importlib/_bootstrap_external.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,7 @@ def find_distributions(cls, name=None, path=None):
13691369
of directories ``path`` (defaults to sys.path).
13701370
"""
13711371
import re
1372-
from importlib.metadata._hooks import PathDistribution
1372+
from importlib.metadata import PathDistribution
13731373
if path is None:
13741374
path = sys.path
13751375
pattern = '.*' if name is None else re.escape(name)

0 commit comments

Comments
 (0)