With a ast.FunctionDef ast.AST node, is it possible to make the difference between this function def hello_world(): print('hello world') and this one def hello_world() -> None: print('hello world') ? In both cases, the FunctionDef node has its 'returns' (return type hint) attribute set to None. -- Valentin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4