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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com