Skip to content

Commit

Permalink
pythongh-118660: Add second type parameter to (Async)ContextManager
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra committed May 7, 2024
1 parent b4bdf83 commit 1013ef3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Add a second type parameter to :class:`typing.ContextManager` and
:class:`typing.AsyncContextManager`, representing the return type of
:meth:`__exit__`. This parameter defaults to ``bool | None``.

0 comments on commit 1013ef3

Please sign in to comment.