

def convert_block_args(self, args):
    if (args is None):
        return ''
    else:
        args = re.sub('^\\(\\s*(.*)\\s*\\)', '\\1', args)
        args = [re.sub('\\s*[a-zA-Z_0-9]+\\s*\\*?\\s*(\\S+)\\s*', '\\1', s) for s in self.split(',')]
        if (len(args) > 1):
            return (('|' + ','.join(args)) + '|')
        else:
            return args[0]

dataset/ETHPy150Open kyamaguchi/SublimeObjC2RubyMotion/CodeConverter.py CodeConverter.convert_block_args/VarMisuse@58/106 `args`->`self`