diff options
Diffstat (limited to 'astroid/inference.py')
-rw-r--r-- | astroid/inference.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/astroid/inference.py b/astroid/inference.py index f01523ee..f66b1b63 100644 --- a/astroid/inference.py +++ b/astroid/inference.py @@ -735,8 +735,7 @@ def _infer_binary_operation(left, right, binary_opnode, context, flow_factory): yield util.Uninferable return - for result in results: - yield result + yield from results return # The operation doesn't seem to be supported so let the caller know about it yield util.BadBinaryOperationMessage(left_type, binary_opnode.op, right_type) |