From 1ba08bb3bc871eddaed1810311d8b365dc1542f5 Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Fri, 30 Dec 2016 14:21:23 +0200 Subject: Add missing parameter to default implementation. --- astroid/protocols.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'astroid') diff --git a/astroid/protocols.py b/astroid/protocols.py index cb071a02..baf3762e 100644 --- a/astroid/protocols.py +++ b/astroid/protocols.py @@ -134,7 +134,7 @@ for _KEY, _IMPL in list(BIN_OP_IMPL.items()): @util.singledispatch -def infer_binary_op(self, operator, other, context, method, nodes): +def infer_binary_op(self, opnode, operator, other, context, method, nodes): raise exceptions.BinaryOperationNotSupportedError -- cgit v1.2.1