Created
February 15, 2026 22:52
-
-
Save mypy-play/27221945829d19cc0407d970cc1cb1f8 to your computer and use it in GitHub Desktop.
Shared via mypy Playground
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
| from dataclasses import dataclass | |
| @dataclass | |
| class Example: | |
| a: int | |
| __name__: str | |
| e = Example(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment