From faa85f7c69ce26c956f3af99bac0d93bb1578129 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sun, 2 Jun 2019 14:28:47 +0200 Subject: [PATCH] Flip some more switches from pathon 2 to 3 (untested!) This commit flips some more switches from Python 2 to Python 3 in makefiles and Python code. Build runs through, but it's still likely to break things. Signed-off-by: Jan Lindemann --- tools/python/jwutils/algo/ShuntingYard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/jwutils/algo/ShuntingYard.py b/tools/python/jwutils/algo/ShuntingYard.py index 07800ee..7368e9b 100644 --- a/tools/python/jwutils/algo/ShuntingYard.py +++ b/tools/python/jwutils/algo/ShuntingYard.py @@ -46,7 +46,7 @@ class ShuntingYard(object): # export #self.do_debug = True self.__ops = {} if operators is not None: - for k, v in operators.iteritems(): + for k, v in operators.items(): self.add_operator(k, v.func, v.nargs, v.prec, v.assoc) def debug(self, *args):