-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-123523: Rework typing documentation for generators and coroutines, and link to it from collections.abc
docs
#123544
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
AlexWaygood
merged 18 commits into
python:main
from
sterliakov:docs/gh-123523-pep585-typing-docs
Sep 6, 2024
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
412c358
Move typing docs for deprecated aliases to collections.abc
sterliakov 3a71312
Do the same with `contextlib` references
sterliakov c146cbd
Add a generators&coroutines section
sterliakov 8b6f65c
Replace PEP695 parameters with Generic inheritance
sterliakov 5aa430c
Remove type arguments for now
sterliakov fb13736
Revert "Do the same with `contextlib` references"
sterliakov e7bd7b7
Use double backticks
sterliakov 5c513aa
Address review comments
sterliakov c827599
s/details of/details on/g
sterliakov 8bac826
Address other review comments
sterliakov a65f256
Remove "This type may be used as follows" notes from List, Dict and M…
sterliakov dfa8564
Remove deprecated alias to `typing.Callable` from `collections.abc` r…
sterliakov 7de2e02
Add deprecation notice to `typing.Callable` and `typing.Type` recomme…
sterliakov 587d240
Use simple link
sterliakov e35d682
Reference modern `collections.abc` aliases
sterliakov fc16d76
Use fully qualified name for `collections.abc.Set` to avoid confusion…
sterliakov 24ff30e
s/Refer to/See
sterliakov e63c976
Disambiguate `typing.Set` and `collections.abc.Set`
sterliakov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.