def get_ast(func):
    # Get function source
    source = inspect.getsource(func)
    source = textwrap.dedent(source)

    # Preserve line numbers
    source = '\n' * (2 - func.__code__.co_firstlineno) + source

    return ast.parse(source, func_file(func), 'single')
dataset/ETHPy150Open Suor/flaws/flaws/asttools.py/get_ast/swapped operands of `-`