Nick Coghlan wrote: > > A tool like > > mypy will catch this for you. > > Perhaps I should raise this as a mypy issue then? > Aye, a typechecker failing to catch this situation would definitely be a > reasonable issue to raise.
Roger that, I've raised this on mypy: https://github.com/python/mypy/issues/8150 _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/QRTJRL6OSRC2BH3FIHBAWZGZBZQ4MURW/ Code of Conduct: http://python.org/psf/codeofconduct/
