mypy assumes importlib.metadata
is implicitly imported via importlib
?
#18153
Labels
importlib.metadata
is implicitly imported via importlib
?
#18153
Bug Report
mypy seems to assume that
import importlib
brings in the relevant submodules (though I can't see anything in typeshed that would indicate this?) even though it does notimportlib.metadata
is not implicitly brought in byimportlib
:To Reproduce
Expected Behavior
I expect two errors, but I only get one
Actual Behavior
Your Environment
mypy.ini
(and other config files): n/aThe text was updated successfully, but these errors were encountered: