(tree: ast.AST)
Finds variables and remove `let` calls.
Finds variables and remove `let` calls.
Finds variables and remove let calls .
def find_variables(tree: ast.AST) -> Iterable[str]:
    """Finds variables and remove `let` calls."""
    for node in find(tree, ast.Call):
        if isinstance(node.func, ast.Name) and node.func.id == 'let':
            position = get_node_position(tree, node)
            position.holder.pop(position.index)  # type: ignore
            yield node.args[0].id
def find_variables ( tree : ast . AST ) -> Iterable [ str ] : for node in find ( tree , ast . Call ) : if isinstance ( node . func , ast . Name ) and node . func . id == 'let' : position = get_node_position ( tree , node ) position . holder . pop ( position . index ) # type: ignore yield node . args [ 0 ] . id