--- a/src/eric7/WebBrowser/Passwords/PasswordWriter.py Fri Dec 22 13:57:47 2023 +0100 +++ b/src/eric7/WebBrowser/Passwords/PasswordWriter.py Fri Dec 22 17:24:07 2023 +0100 @@ -27,12 +27,16 @@ """ Public method to write an login data file. - @param fileNameOrDevice name of the file to write (string) - or device to write to (QIODevice) + @param fileNameOrDevice name of the file to write or device to write to + @type str or QIODevice @param logins dictionary with login data (user name, password) - @param forms list of forms data (list of LoginForm) - @param nevers list of URLs to never store data for (list of strings) - @return flag indicating success (boolean) + @type dict + @param forms list of forms data + @type list of LoginForm + @param nevers list of URLs to never store data for + @type list of str + @return flag indicating success + @rtype bool """ if isinstance(fileNameOrDevice, QIODevice): f = fileNameOrDevice @@ -49,9 +53,13 @@ Private method to write an login data file. @param logins dictionary with login data (user name, password) - @param forms list of forms data (list of LoginForm) - @param nevers list of URLs to never store data for (list of strings) - @return flag indicating success (boolean) + @type dict + @param forms list of forms data + @type list of LoginForm + @param nevers list of URLs to never store data for + @type list of str + @return flag indicating success + @rtype bool """ self.writeStartDocument() self.writeDTD("<!DOCTYPE passwords>") @@ -73,6 +81,7 @@ Private method to write the login data. @param logins dictionary with login data (user name, password) + @type dict """ self.writeStartElement("Logins") for key, login in logins.items(): @@ -86,7 +95,8 @@ """ Private method to write forms data. - @param forms list of forms data (list of LoginForm) + @param forms list of forms data + @type list of LoginForm """ self.writeStartElement("Forms") for key, form in forms.items(): @@ -102,7 +112,8 @@ """ Private method to write the URLs never to store login data for. - @param nevers list of URLs to never store data for (list of strings) + @param nevers list of URLs to never store data for + @type list of str """ self.writeStartElement("Nevers") for never in nevers: