Closed Avasam closed 11 months ago
See https://github.com/python/typeshed/pull/10746#issuecomment-1730371768 as to why importing directly from importlib shouldn't be relied on for importlib.machinery, importlib.util and importlib.abc. Mypy & Pyright (see #2102) will also catch the two issues fixed here.
importlib
importlib.machinery
importlib.util
importlib.abc
See https://github.com/python/typeshed/pull/10746#issuecomment-1730371768 as to why importing directly from
importlib
shouldn't be relied on forimportlib.machinery
,importlib.util
andimportlib.abc
. Mypy & Pyright (see #2102) will also catch the two issues fixed here.