

def remove_comments(source):
    no_mutiline = re.sub('/\\*.*?\\*/', ' ', source, flags=(re.DOTALL | re.MULTILINE))
    no_single_line = re.sub('//.*$', ' ', source, flags=re.MULTILINE)
    return no_single_line

dataset/ETHPy150Open pebble/cloudpebble/ide/utils/prepreprocessor.py remove_comments/VarMisuse@45/66 `no_mutiline`->`source`