def opcode(*opcodes):
    """A decorator for opcodes"""
    def decorator(func):
        setattr(func, "_is_opcode", True)
        setattr(func, "_opcodes", opcodes)
        return func
    return decorator
def opcode ( * opcodes ) : def decorator ( func ) : setattr ( func , "_is_opcode" , True ) setattr ( func , "_opcodes" , opcodes ) return func return decorator
A decorator for opcodes