KEMBAR78
Allow nonlocal in function scoped classes by hauntsaninja · Pull Request #13158 · python/mypy · GitHub
Skip to content

Conversation

hauntsaninja
Copy link
Collaborator

Fixes #12730

Co-authored-by: mrolle45

@hauntsaninja
Copy link
Collaborator Author

Thanks to @mrolle45 for reporting and for the fix!

@github-actions
Copy link
Contributor

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

@hauntsaninja hauntsaninja merged commit 37080f5 into python:master Jul 18, 2022
@hauntsaninja hauntsaninja deleted the nonloc branch July 18, 2022 17:20
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.

nonlocal in class def reports an error.

2 participants