8000 gh-123523: Rework typing documentation for generators and coroutines, and link to it from `collections.abc` docs by sterliakov · Pull Request #123544 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

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
merged 18 commits into from
Sep 6, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Use fully qualified name for collections.abc.Set to avoid confusion…
… with `typing.Set`
  • Loading branch information
sterliakov committed Sep 1, 2024
commit fc16d76b8c63c8e3c9b7d7d3fbc2c826e8c7ca7e
2 changes: 1 addition & 1 deletion Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3424,7 +3424,7 @@ Aliases to built-in types
Deprecated alias to :class:`builtins.set <set>`.

Note that to annotate arguments, it is preferred
to use an abstract collection type such as :class:`~collections.abc.Set`
to use an abstract collection type such as :class:`collections.abc.Set`
rather than to use :class:`set` or :class:`!typing.Set`.

.. deprecated:: 3.9
Expand Down
Loading
0