diff --git a/src/pyconverter/xml2py/ast_tree.py b/src/pyconverter/xml2py/ast_tree.py index 80a1c38f6..ccb159d8a 100644 --- a/src/pyconverter/xml2py/ast_tree.py +++ b/src/pyconverter/xml2py/ast_tree.py @@ -2510,13 +2510,12 @@ def arg_desc(self) -> List[Argument]: if refsyn is None: refsections = self.find_all("RefSection") for elem in refsections: - if elem.id is not None and "argdescript" in elem.id: - for child in elem: - if isinstance(child, Variablelist): - if arguments is None: - arguments = ArgumentList(self.py_name, self.url, child, self.args) - else: - arguments += ArgumentList(self.py_name, self.url, child, self.args) + for child in elem: + if isinstance(child, Variablelist): + if arguments is None: + arguments = ArgumentList(self.py_name, self.url, child, self.args) + else: + arguments += ArgumentList(self.py_name, self.url, child, self.args) else: for elem in refsyn: