src/eric7/Plugins/VcsPlugins/vcsGit/GitBranchPushDialog.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9971
773ad1f1ed22
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitBranchPushDialog.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitBranchPushDialog.py	Sat Dec 23 15:40:23 2023 +0100
@@ -22,10 +22,14 @@
         """
         Constructor
 
-        @param branches list of branch names (list of string)
-        @param remotes list of remote names (list of string)
-        @param delete flag indicating a delete branch action (boolean)
-        @param parent reference to the parent widget (QWidget)
+        @param branches list of branch names
+        @type list of str
+        @param remotes list of remote names
+        @type list of str
+        @param delete flag indicating a delete branch action
+        @type bool
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -62,7 +66,8 @@
         """
         Private slot to handle a change of the branch name.
 
-        @param txt branch name (string)
+        @param txt branch name
+        @type str
         """
         self.__okButton.setEnabled(bool(txt))
 
@@ -71,7 +76,8 @@
         Public method to get the selected data.
 
         @return tuple of selected branch name, remote name and a flag
-            indicating all branches (tuple of two strings and a boolean)
+            indicating all branches
+        @rtype tuple of (str, str, bool)
         """
         return (
             self.branchComboBox.currentText(),

eric ide

mercurial