diff -r 1444b4bee64b -r 093dcebe5ecb src/eric7/QScintilla/EditorOutlineModel.py --- a/src/eric7/QScintilla/EditorOutlineModel.py Sun Dec 03 16:44:52 2023 +0100 +++ b/src/eric7/QScintilla/EditorOutlineModel.py Sun Dec 03 19:46:34 2023 +0100 @@ -75,7 +75,7 @@ self.__editor.text(), self.__filename, self.__module ) if dictionary is not None: - keys = list(dictionary.keys()) + keys = list(dictionary) if len(keys) > 0: parentItem = self.rootItem @@ -269,6 +269,4 @@ @return list of supported programming languages @rtype str """ - return list(ClassBrowsers.ClassBrowserRegistry.keys()) + list( - cls.SupportedLanguages.keys() - ) + return list(ClassBrowsers.ClassBrowserRegistry) + list(cls.SupportedLanguages)