3 ms·
Run mypy on it and see if it complains. If it does I think it will even tell you what type is being emitted instead.
by willcipriano 5y ago
Run mypy on it and see if it complains. If it does I think it will even tell you what type is being emitted instead.
- nopenopenopeno 5y agoThe question wasn’t what mypy will do. The question was what type will the function return.
- willcipriano 5y agomypy error: function 'x' returns type 'y' expected type 'z' I don't recall the exact message but I think it will emit something along those lines.
- comonoid 5y agoThe question wasn’t what mypy will do. The question was what type will the function return.
- deleted 5y ago[deleted]