Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Jul 5, 2023. It is now read-only.
This repository was archived by the owner on Jul 5, 2023. It is now read-only.
There was an error while loading. Please reload this page.
In hopes of solving python/mypy#3871 we probably need to modify typed_ast to expose more information about function line numbers.
If the return type annotation of a function is absent, the
FunctionDefnode will havereturnsasNone, which means mypy cannot get the line number of where the return type annotation should be. Additionally the actualdefline number may be impossible to calculate based on given ast data.