

def convert_args(self, matchobj):
    following_args = re.sub('([^:]+)(\\s+)(\\S+):', '\\1,\\3:', matchobj.group(2))
    following_args = re.sub(':\\s+', ':', following_args)
    return ('%s(%s)' % (matchobj.group(1), following_args))

dataset/ETHPy150Open kyamaguchi/SublimeObjC2RubyMotion/CodeConverter.py CodeConverter.convert_args/original