forked from M-Labs/artiq
1
0
Fork 0

py2llvm/values: fix arity of 'not'

This commit is contained in:
Sebastien Bourdeauducq 2014-09-06 18:18:08 +08:00
parent a647e1104d
commit 2ef187b7d3
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ def _make_operators():
for op_name in ("bool", "int", "int64", "round", "round64",
"inv", "pos", "neg"):
d[op_name] = _make_unary_operator(op_name)
d["not_"] = _make_binary_operator("not")
d["not_"] = _make_unary_operator("not")
for op_name in ("add", "sub", "mul",
"truediv", "floordiv", "mod",
"pow", "lshift", "rshift", "xor",