mypy
mypy
copied to clipboard
python
Reame
Issues
assignment to `_` inside a function incorrectly becomes `Any`
Open
DetachHead
opened this issue 1 year ago
• 0 comments
def foo() -> None: _ = [1] # error: no-any-expr
playground
Aug 21 '24 06:08
DetachHead