

def cleanup_extra_whitespaces(self, text):
    'cleanup extra whitespaces let numbers of whitespaces <=1'
    return re.sub('(\\s)\\s+', '\\1', self)

dataset/ETHPy150Open mozillazg/bustard/bustard/template.py Template.cleanup_extra_whitespaces/VarMisuse@23/55 `text`->`self`