summaryrefslogtreecommitdiff
path: root/protocols.py
diff options
context:
space:
mode:
Diffstat (limited to 'protocols.py')
-rw-r--r--protocols.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols.py b/protocols.py
index 59295b88..301ef0fc 100644
--- a/protocols.py
+++ b/protocols.py
@@ -87,7 +87,7 @@ def const_infer_binary_op(self, operator, other, context):
try:
yield const_factory(impl(self.value, other.value))
- except StandardError:
+ except Exception:
# ArithmeticError is not enough: float >> float is a TypeError
# TODO : let pylint know about the problem
pass