diff -r 866adc8c315b -r 0acf98cd089a eric6/Utilities/ModuleParser.py --- a/eric6/Utilities/ModuleParser.py Sun Jan 17 13:53:08 2021 +0100 +++ b/eric6/Utilities/ModuleParser.py Mon Feb 01 10:38:16 2021 +0100 @@ -126,8 +126,8 @@ ) | (?P<Method> - (^ [ \t]* @ (?: PyQt[45] \. )? (?: QtCore \. )? - (?: pyqtSignature | pyqtSlot ) + (^ [ \t]* @ (?: PyQt[456] \. | PySide[26] \. )? (?: QtCore \. )? + (?: pyqtSignature | pyqtSlot | Slot ) [ \t]* \( (?P<MethodPyQtSignature> [^)]* ) \) \s* @@ -801,7 +801,7 @@ break elif m.start("Import") >= 0: - ## import module + #- import module names = [n.strip() for n in "".join(m.group("ImportList").splitlines()) .replace("\\", "").split(',')] @@ -810,7 +810,7 @@ if name not in self.imports]) elif m.start("ImportFrom") >= 0: - ## from module import stuff + #- from module import stuff mod = m.group("ImportFromPath") namesLines = (m.group("ImportFromList") .replace("(", "").replace(")", "") @@ -1479,7 +1479,7 @@ @param name name of the function (string) @param file name of file containing this function (string) @param lineno linenumber of the first attribute assignment (integer) - @keyparam isSignal flag indicating a signal definition (boolean) + @param isSignal flag indicating a signal definition (boolean) """ self.module = module self.name = name