X Tutup
The Wayback Machine - https://web.archive.org/web/20221028011952/https://github.com/python/cpython/issues/98576
Skip to content
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

Open
hauntsaninja opened this issue Oct 23, 2022 · 0 comments
Open

Example in dataclass documentation is incorrectly typed #98576

hauntsaninja opened this issue Oct 23, 2022 · 0 comments
Labels
docs Documentation in the Doc dir expert-typing

Comments

@hauntsaninja
Copy link
Contributor

hauntsaninja commented Oct 23, 2022

The example of InitVar in dataclass documentation does not pass static type checking. This caused some confusion here: python/mypy#13934

Labels
docs Documentation in the Doc dir expert-typing
Projects
None yet
Development

No branches or pull requests

2 participants
X Tutup