Created
March 13, 2025 11:27
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
import uuid | |
from typing import TYPE_CHECKING, reveal_type | |
a = uuid.uuid4() | |
b = str(a) | |
if TYPE_CHECKING: | |
reveal_type(a) | |
reveal_type(b) | |
print(a == b) | |
c = "c" | |
d = 500 | |
print(c == d) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment