We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The revealed type in this example is int, even though it should be str:
int
str
# mypy: allow-redefinition def f() -> None: x = 0 print(x) x = 'x' def g() -> None: reveal_type(x) # int, but should be str