[PATCH] python: update for SWIG 4.3 SWIG 4.3 comes with an API change to the SWIG_Python_AppendOutput() function, so switch to the recommended SWIG_AppendOutput() instead. Because the new function is a macro in fact also switch to the {..} delimiters as the code needs to be preprocessed. The change is compatible with the previous SWIG releases 4.2 and 4.1 at least.