diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2014-10-27 00:35:18 +0200 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2014-10-27 00:35:18 +0200 |
commit | 09cd8b7eefb021f2d8327e42614bca7cbb8915f2 (patch) | |
tree | e54d46837b31f00197106ad6f104f3444c65b521 /protocols.py | |
parent | 1c5cab5ce9c6bf5c2a161748d03a5fa44a69e15e (diff) | |
download | astroid-git-09cd8b7eefb021f2d8327e42614bca7cbb8915f2.tar.gz |
Make the source compatible with Python 2.7 and 3.3+.
Diffstat (limited to 'protocols.py')
-rw-r--r-- | protocols.py | 2 |
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): |