Skip to content

Resolve builtins/importlib inconsistencies #6310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

AlexWaygood
Copy link
Member

This corrects an oversight from #6292, in which I changed the annotation for the globals and locals arguments of builtins.__import__, but not for importlib.__import__, which should have the same signature as builtins.__import__.

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit 1274445 into python:master Nov 16, 2021
@AlexWaygood AlexWaygood deleted the import-issues branch November 16, 2021 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants