Skip to content

accurate type for __exit__#4488

Merged
davidism merged 1 commit into
mainfrom
typing-context-exit
Mar 15, 2022
Merged

accurate type for __exit__#4488
davidism merged 1 commit into
mainfrom
typing-context-exit

Conversation

@davidism
Copy link
Copy Markdown
Member

Arguments to __exit__ are optional.

fixes #4474

@davidism davidism added this to the 2.1.0 milestone Mar 15, 2022
@davidism davidism merged commit 7abcf57 into main Mar 15, 2022
@davidism davidism deleted the typing-context-exit branch March 15, 2022 15:48
@twm
Copy link
Copy Markdown

twm commented Mar 15, 2022

Thank you very much!

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AppContext.__exit__ type annotation doesn't allow for None

2 participants