diff --git a/pymbolic/primitives.py b/pymbolic/primitives.py index 53f184a406478c0ef2eaee76532cef53f0b4b93c..7009199a4afdeac8d32497d63bd093ef7b5b4f76 100644 --- a/pymbolic/primitives.py +++ b/pymbolic/primitives.py @@ -379,7 +379,7 @@ class Expression(object): # {{{ bitwise operators - def __inv__(self): + def __invert__(self): return BitwiseNot(self) def __or__(self, other):