(var, block, func_ir)
return result
Search given block for variable usages. If it is used only in one assignment and one Del - remove this variable
Search given block for variable usages. If it is used only in one assignment and one Del - remove this variable
Search given block for variable usages . If it is used only in one assignment and one Del - remove this variable
def remove_unused(var, block, func_ir):
    """
    Search given block for variable usages. If it is used only in one assignment and one Del - remove this variable
    """

    result, _ = _remove_unused_internal(var, block, func_ir)

    return result
def remove_unused ( var , block , func_ir ) : result , _ = _remove_unused_internal ( var , block , func_ir ) return result