Created
February 13, 2026 16:48
-
-
Save mypy-play/a6e420c842ff5ba090e282e15c177e00 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
| class A: | |
| def __new__(cls) -> int: | |
| return 42 | |
| reveal_type(A()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment