ModuleParser: fixed an issue causing PyQt6.pyqtSlot() not being recognized.

Mon, 18 Jan 2021 11:43:06 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 18 Jan 2021 11:43:06 +0100
changeset 7995
d570d9aab754
parent 7994
49aa77e9c593
child 7996
ce1d288659ae

ModuleParser: fixed an issue causing PyQt6.pyqtSlot() not being recognized.

eric6/Utilities/ModuleParser.py file | annotate | diff | comparison | revisions
--- a/eric6/Utilities/ModuleParser.py	Sun Jan 17 16:25:40 2021 +0100
+++ b/eric6/Utilities/ModuleParser.py	Mon Jan 18 11:43:06 2021 +0100
@@ -126,7 +126,7 @@
     )
 
 |   (?P<Method>
-        (^ [ \t]* @ (?: PyQt[45] \. )? (?: QtCore \. )?
+        (^ [ \t]* @ (?: PyQt[456] \. )? (?: QtCore \. )?
             (?: pyqtSignature | pyqtSlot )
             [ \t]* \(
                 (?P<MethodPyQtSignature> [^)]* )

eric ide

mercurial