

def _get_method_signature(self, method_definition):
    pattern = '^def(.*){'
    return re.search(pattern, method_definition).group(1).strip()

dataset/ETHPy150Open espeed/bulbs/bulbs/groovy.py Parser._get_method_signature/original