diff -r 45e7bb09c120 -r 80c06d472826 src/eric7/DocumentationTools/APIGenerator.py --- a/src/eric7/DocumentationTools/APIGenerator.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/DocumentationTools/APIGenerator.py Tue Oct 18 16:06:21 2022 +0200 @@ -80,7 +80,7 @@ """ Private method to generate the api section for global variables. """ - from QScintilla.Editor import Editor + from eric7.QScintilla.Editor import Editor moduleNameStr = "{0}".format(self.moduleName) @@ -112,7 +112,7 @@ @param className name of the class containing the method (string) """ - from QScintilla.Editor import Editor + from eric7.QScintilla.Editor import Editor _class = self.module.classes[className] methods = sorted(_class.methods.keys()) @@ -158,7 +158,7 @@ @param className name of the class containing the class variables (string) """ - from QScintilla.Editor import Editor + from eric7.QScintilla.Editor import Editor _class = self.module.classes[className] classNameStr = "{0}{1}.".format(self.moduleName, className) @@ -176,7 +176,7 @@ """ Private method to generate the api section for functions. """ - from QScintilla.Editor import Editor + from eric7.QScintilla.Editor import Editor funcNames = sorted(self.module.functions.keys()) for funcName in funcNames: