From 2b507e250881508144a718aca4675d183b96e00f Mon Sep 17 00:00:00 2001 From: cwilling Date: Sat, 28 Jun 2025 12:32:07 +1000 Subject: [PATCH] Update uiparser.py getiterator() is no longer available since (at least) python3.9 and should be changed to iter(), as already used many times in this file. --- pyside2uic/uiparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyside2uic/uiparser.py b/pyside2uic/uiparser.py index da1d74449..966afd09c 100644 --- a/pyside2uic/uiparser.py +++ b/pyside2uic/uiparser.py @@ -783,7 +783,7 @@ def readResources(self, elem): Read a "resources" tag and add the module to import to the parser's list of them. """ - for include in elem.getiterator("include"): + for include in elem.iter("include"): loc = include.attrib.get("location") # Assume our convention for naming the Python files generated by