Created
February 6, 2025 18:47
-
-
Save mypy-play/2b23624b1df772175b70c08e36a6e912 to your computer and use it in GitHub Desktop.
Shared via mypy Playground
This file contains 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 __eq__(self, o: object, /) -> bool: | |
return self is o | |
reveal_type(A().__hash__) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment