-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-103099: Link mypy docs from typing.rst #103100
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
Conversation
hauntsaninja
commented
Mar 28, 2023
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- Issue: Link mypy docs from typing.rst #103099
Co-authored-by: Alex Waygood <[email protected]>
Doc/library/typing.rst
Outdated
the Python typing system is standardised via PEPs, this reference should | ||
broadly apply to most Python type checkers, although some parts may still be | ||
specific to mypy. | ||
|
||
.. seealso:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: I'd prefer it if we had one .. seealso
box with multiple links in it, similar to the one we have here, rather than two consecutive .. seealso
boxes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the other seealso https://deploy-preview-103100--python-cpython-preview.netlify.app/library/typing.html
I think it's mostly fine, but it's not as nice as the seealso you link because it doesn't have bold headings. I don't really have good heading names in mind, so I'm happy to merge as is.
I made one more change: linking to mypy's type hinting cheat sheet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This is very much needed
Thanks @hauntsaninja for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
GH-103126 is a backport of this pull request to the 3.11 branch. |
GH-103127 is a backport of this pull request to the 3.10 branch. |
(cherry picked from commit fda95aa) Co-authored-by: Shantanu <[email protected]>
(cherry picked from commit fda95aa) Co-authored-by: Shantanu <[email protected]>
(cherry picked from commit fda95aa) Co-authored-by: Shantanu <[email protected]>
(cherry picked from commit fda95aa) Co-authored-by: Shantanu <[email protected]>