

def transform(self, node, results):
    attr = results['attr'][0]
    new = unicode(MAP[attr.value])
    attr.replace(Name(new, prefix=attr.prefix))

dataset/ETHPy150Open ctxis/canape/CANAPE.Scripting/Lib/lib2to3/fixes/fix_methodattrs.py FixMethodattrs.transform/original