--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgUnshelveDataDialog.py Fri Dec 22 19:45:17 2023 +0100 +++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgUnshelveDataDialog.py Sat Dec 23 15:40:23 2023 +0100 @@ -21,9 +21,12 @@ """ Constructor - @param shelveNames list of available shelves (list of string) - @param shelveName name of the shelve to restore (string) - @param parent reference to the parent widget (QWidget) + @param shelveNames list of available shelves + @type list of str + @param shelveName name of the shelve to restore + @type str + @param parent reference to the parent widget + @type QWidget """ super().__init__(parent) self.setupUi(self) @@ -41,8 +44,9 @@ """ Public method to get the user data. - @return tuple containing the name (string) and a flag indicating - to keep the shelved change (boolean) + @return tuple containing the name and a flag indicating to keep the + shelved change + @rtype tuple of (str, bool) """ return ( self.nameComboBox.currentText().replace(" ", "_"),