Skip to content

Possible typo in typing.TypeVarTuple docs #99662

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

Closed
GabrielAnguita opened this issue Nov 21, 2022 · 3 comments
Closed

Possible typo in typing.TypeVarTuple docs #99662

GabrielAnguita opened this issue Nov 21, 2022 · 3 comments
Assignees
Labels
docs Documentation in the Doc dir topic-typing

Comments

@GabrielAnguita
Copy link
Contributor

GabrielAnguita commented Nov 21, 2022

Documentation

In the section about the TypeVarTuple type, there is a bit of text that I find diffcult making sense of. My guess is that the author made a typo, but of course I could be wrong and maybe I am not getting the idea.

Where the text states:

Type variable tuples must always be unpacked. This helps distinguish type variable types from normal type variables

I think it meant:

Type variable tuples must always be unpacked. This helps distinguish type variable tuples from normal type variables

In case it is indeed a typo I'd be happy to open a PR fixing the issue.

Linked PRs

@GabrielAnguita GabrielAnguita added the docs Documentation in the Doc dir label Nov 21, 2022
@AlexWaygood
Copy link
Member

Cc. @mrahtz

@mrahtz
Copy link
Contributor

mrahtz commented Nov 21, 2022

Ah, yes, it is indeed a typo - good catch! Please do go ahead and send a PR :)

GabrielAnguita added a commit to GabrielAnguita/cpython that referenced this issue Nov 22, 2022
GabrielAnguita added a commit to GabrielAnguita/cpython that referenced this issue Nov 22, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Nov 22, 2022
@JelleZijlstra JelleZijlstra self-assigned this Nov 22, 2022
miss-islington added a commit that referenced this issue Nov 22, 2022
(cherry picked from commit 1bf983c)

Co-authored-by: GabrielAnguita <[email protected]>
@JelleZijlstra
Copy link
Member

Thanks for reporting and fixing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir topic-typing
Projects
None yet
Development

No branches or pull requests

4 participants