FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.11] gh-103921: Improve typing documentation (GH-104642) by JelleZijlstra · Pull Request #105007 · python/cpython · GitHub

/ cpython Public

[3.11] gh-103921: Improve typing documentation (GH-104642) - #105007

Merged
JelleZijlstra merged 3 commits into
python:3.11from
JelleZijlstra:backport-060277d-3.11
May 27, 2023
Merged

[3.11] gh-103921: Improve typing documentation (GH-104642)#105007
JelleZijlstra merged 3 commits into
python:3.11from
JelleZijlstra:backport-060277d-3.11

Conversation

JelleZijlstra commented May 27, 2023
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Member

(cherry picked from commit 060277d)

This backports some of the changes from the PEP 695 documentation PR (#104642) to 3.11, because I ended up making some improvements that are also applicable to older versions of typing:

  • Consistent indentation of examples in typing.rst
  • Document the call signature of TypeVar, ParamSpec, TypeVarTuple
  • Omit mention of the variance-related parameters of ParamSpec, which are not meaningful in the type system
  • Some wording improvements

📚 Documentation preview 📚: https://cpython-previews--105007.org.readthedocs.build/

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>.
(cherry picked from commit 060277d)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Comment thread Doc/library/typing.rst Outdated
Comment thread Doc/library/typing.rst Outdated
Comment thread Doc/library/typing.rst Outdated
Comment thread Doc/library/typing.rst
Comment thread Doc/library/typing.rst Outdated
Thanks Alex!

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Comment thread Doc/library/typing.rst Outdated

Copy link
Copy Markdown

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

Comment thread Doc/library/typing.rst Outdated
Comment thread Doc/library/typing.rst Outdated

AlexWaygood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks!

JelleZijlstra merged commit d34e58a into python:3.11 May 27, 2023
JelleZijlstra deleted the backport-060277d-3.11 branch May 27, 2023 23:37
JelleZijlstra restored the backport-060277d-3.11 branch September 10, 2024 23:37
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL