

def expand_tabs(file0):
    '\n    This function takes the name of a python source file, expands all tabs to 4 spaces (for\nPEP 8 compliance), and rewrites the file in place.\n    '
    str_file_contents = open(file0, 'rb').read()
    str_pep_contents = file0.replace('\t', (4 * ' '))
    open(file0, 'wb').write(str_pep_contents)
    return None

dataset/ETHPy150Open jesolem/PCV/expand_tabs.py expand_tabs/VarMisuse@27/104 `str_file_contents`->`file0`