src/eric7/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/ProjectHelper.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r 2f70ca07f0af -r 4cd7e5a8b3cf src/eric7/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/ProjectHelper.py
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/ProjectHelper.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/ProjectHelper.py	Sat Dec 23 15:40:23 2023 +0100
@@ -171,8 +171,10 @@
         """
         Public method to generate the extension menu.
 
-        @param mainMenu reference to the main menu (QMenu)
-        @return populated menu (QMenu)
+        @param mainMenu reference to the main menu
+        @type QMenu
+        @return populated menu
+        @rtype QMenu
         """
         menu = QMenu(self.menuTitle(), mainMenu)
         menu.setTearOffEnabled(True)
@@ -194,7 +196,8 @@
         """
         Public method to get the menu title.
 
-        @return title of the menu (string)
+        @return title of the menu
+        @rtype str
         """
         return self.tr("Shelve")
 
@@ -203,8 +206,10 @@
         Private method to reopen the project if needed and wanted.
 
         @param shouldReopen flag indicating that the project should
-            be reopened (boolean)
-        @param title title of the message box (string)
+            be reopened
+        @type bool
+        @param title title of the message box
+        @type str
         """
         if shouldReopen:
             res = EricMessageBox.yesNo(

eric ide

mercurial