diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-17 20:12:03 +0100 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-17 20:12:03 +0100 |
commit | dca3244ac7681fff5246af523deb0e8bbd848b04 (patch) | |
tree | 88165901d0015fd32f0915a7103f5c535dfdf793 /protocols.py | |
parent | 3d74bd39cf0066e2712e07c225d65924f6f70d1c (diff) | |
download | astroid-git-dca3244ac7681fff5246af523deb0e8bbd848b04.tar.gz |
make pylint happy
--HG--
branch : _ast_compat
Diffstat (limited to 'protocols.py')
-rw-r--r-- | protocols.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/protocols.py b/protocols.py index edabb112..eb9fcc37 100644 --- a/protocols.py +++ b/protocols.py @@ -60,18 +60,18 @@ nodes.Const.infer_unary_op = const_infer_unary_op # binary operations ########################################################### -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, - '|': lambda a,b: a | b, - '^': lambda a,b: a ^ b, - '<<': lambda a,b: a ^ b, - '>>': lambda a,b: a ^ b, +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, + '|': 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): |