Skip to content

Instantly share code, notes, and snippets.

@mypy-play
Created March 13, 2025 11:27
Shared via mypy Playground
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