diff options
Diffstat (limited to 'protocols.py')
-rw-r--r-- | protocols.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols.py b/protocols.py index 97625a78..28f17aec 100644 --- a/protocols.py +++ b/protocols.py @@ -70,8 +70,8 @@ BIN_OP_IMPL = {'+': lambda a, b: a + b, '&': lambda a, b: a & b, '|': lambda a, b: a | b, '^': lambda a, b: a ^ b, - '<<': lambda a, b: a ^ b, - '>>': lambda a, b: a ^ b, + '<<': lambda a, b: a << b, + '>>': lambda a, b: a >> b, } def const_infer_binary_op(self, operator, other, context): |