src/eric7/Preferences/ConfigurationPages/EditorAPIsPage.py

branch
eric7
changeset 10428
a071d4065202
parent 10373
093dcebe5ecb
child 10439
21c28b0f9e41
diff -r 3733e2b23cf7 -r a071d4065202 src/eric7/Preferences/ConfigurationPages/EditorAPIsPage.py
--- a/src/eric7/Preferences/ConfigurationPages/EditorAPIsPage.py	Wed Dec 20 11:06:38 2023 +0100
+++ b/src/eric7/Preferences/ConfigurationPages/EditorAPIsPage.py	Wed Dec 20 14:58:58 2023 +0100
@@ -209,7 +209,8 @@
         """
         Private slot to retrieve the api filenames from the list.
 
-        @return list of api filenames (list of strings)
+        @return list of api filenames
+        @rtype list of str
         """
         apis = []
         for row in range(self.apiList.count()):
@@ -339,7 +340,7 @@
 
         @return tuple containing the index of the selected lexer language
             and the index of the selected project type
-        @rtype tuple of int and int
+        @rtype tuple of (int, int)
         """
         return (
             self.apiLanguageComboBox.currentIndex(),
@@ -351,6 +352,7 @@
         Public method to set the state of the widget.
 
         @param state state data generated by saveState
+        @type tuple of (int, int)
         """
         self.apiLanguageComboBox.setCurrentIndex(state[0])
         self.on_apiLanguageComboBox_activated(self.apiLanguageComboBox.currentIndex())
@@ -370,7 +372,8 @@
         """
         Private slot to handle the entering of an API file name.
 
-        @param txt text of the line edit (string)
+        @param txt text of the line edit
+        @type str
         """
         enable = txt != ""
 
@@ -389,7 +392,9 @@
     Module function to create the configuration page.
 
     @param dlg reference to the configuration dialog
-    @return reference to the instantiated page (ConfigurationPageBase)
+    @type ConfigurationDialog
+    @return reference to the instantiated page
+    @rtype ConfigurationPageBase
     """
     page = EditorAPIsPage()
     return page

eric ide

mercurial