def MI_method_PY3(cls):
nmspc = cls.__dict__.copy()<EOL>for m in ['<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>nmspc.pop(m)<EOL><DEDENT>methods = ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>']<EOL>for m in methods:<EOL><INDENT>nmspc[m] = nmspc.pop('<STR_LIT>' + m)<EOL><DEDENT>return type(cls)(cls.__name__, cls.__bases__, nmspc)<EOL>
class decorator to change MIMapping method names for PY3 compatibility