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 cc284285..4dd515fd 100644
--- a/protocols.py
+++ b/protocols.py
@@ -91,7 +91,7 @@ BIN_OP_IMPL = {'+': lambda a, b: a + b,
'<<': lambda a, b: a << b,
'>>': lambda a, b: a >> b,
}
-for key, impl in BIN_OP_IMPL.items():
+for key, impl in list(BIN_OP_IMPL.items()):
BIN_OP_IMPL[key+'='] = impl
def const_infer_binary_op(self, operator, other, context):