-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
Example in dataclass documentation is incorrectly typed #98576
Labels
Comments
hauntsaninja
added a commit
to hauntsaninja/cpython
that referenced
this issue
Oct 23, 2022
ericvsmith
pushed a commit
that referenced
this issue
Oct 31, 2022
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 31, 2022
(cherry picked from commit 880bafc) Co-authored-by: Shantanu <[email protected]>
This was referenced Oct 31, 2022
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 31, 2022
(cherry picked from commit 880bafc) Co-authored-by: Shantanu <[email protected]>
miss-islington
added a commit
that referenced
this issue
Oct 31, 2022
(cherry picked from commit 880bafc) Co-authored-by: Shantanu <[email protected]>
miss-islington
added a commit
that referenced
this issue
Oct 31, 2022
(cherry picked from commit 880bafc) Co-authored-by: Shantanu <[email protected]>
Fixed on Thanks @hauntsaninja for the PR, and thanks @Kentzo for originally pointing out the problem over at mypy! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The example of InitVar in dataclass documentation does not pass static type checking. This caused some confusion here: python/mypy#13934
The text was updated successfully, but these errors were encountered: