8000 Fix some docs typos by AlexWaygood · Pull Request #386 · python/typing_extensions · GitHub
[go: up one dir, main page]

Skip to content

Fix some docs typos #386

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
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
and the second parameter of `typing_extensions.AsyncGenerator`,
now default to `None`. This matches the behaviour of `typing.Generator`
and `typing.AsyncGenerator` on Python 3.13+.
- `typing.ContextManager` and `typing.AsyncContextManager` now have an
optional second parameter, which defaults to `Optional[bool]`. The new
parameter signifies the return type of the `__(a)exit__` method,
matching `typing.ContextManager` and `typing.AsyncContextManager` on
Python 3.13+.
- `typing_extensions.ContextManager` and
`typing_extensions.AsyncContextManager` now have an optional second
parameter, which defaults to `Optional[bool]`. The new parameter
signifies the return type of the `__(a)exit__` method, matching
`typing.ContextManager` and `typing.AsyncContextManager` on Python
3.13+.

# Release 4.11.0 (April 5, 2024)

Expand Down
4 changes: 2 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -967,8 +967,8 @@ versions of Python, but all are listed here for completeness.

.. versionchanged:: 4.12.0

``AsyncContextManager`` now has an optional second parameter, defaulting to
``Optional[bool]``, signifying the return type of the ``__aexit__`` method.
``ContextManager`` now has an optional second parameter, defaulting to
``Optional[bool]``, signifying the return type of the ``__exit__`` method.

.. class:: Coroutine

Expand Down
Loading
0