示例#1
0
def compare_handlers(handler, prefix='op_'):
    return dict.fromkeys(prefix_(defs.compare, prefix), handler)
示例#2
0
def binop_handlers(handler, prefix='op_'):
    return dict.fromkeys(prefix_(defs.binary, prefix), handler)