-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Example in dataclass documentation is incorrectly typed #98576
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
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 <12621235+hauntsaninja@users.noreply.github.com>
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 <12621235+hauntsaninja@users.noreply.github.com>
miss-islington
added a commit
that referenced
this issue
Oct 31, 2022
miss-islington
added a commit
that referenced
this issue
Oct 31, 2022
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
Uh oh!
There was an error while loading. Please reload this page.
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: