8000
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.
Mypy should infer the type of a variable if the first initializer is None:
None
def f() -> None: x = None if foo: x = '' # type of x should be str here