diff -r c712d09cc839 -r f6881d10e995 src/eric7/WebBrowser/Bookmarks/BookmarksImporters/HtmlImporter.py --- a/src/eric7/WebBrowser/Bookmarks/BookmarksImporters/HtmlImporter.py Fri Dec 22 13:57:47 2023 +0100 +++ b/src/eric7/WebBrowser/Bookmarks/BookmarksImporters/HtmlImporter.py Fri Dec 22 17:24:07 2023 +0100 @@ -20,11 +20,12 @@ """ Module function to get information for the given HTML source id. - @param sourceId id of the browser ("chrome" or "chromium") - @return tuple with an icon (QPixmap), readable name (string), name of - the default bookmarks file (string), an info text (string), - a prompt (string) and the default directory of the bookmarks file - (string) + @param sourceId id of the browser + @type str + @return tuple with an icon, readable name, name of the default + bookmarks file, an info text, a prompt and the default directory + of the bookmarks file + @rtype tuple of (QPixmap, str, str, str, str, str) @exception ValueError raised to indicate an invalid browser ID """ if sourceId != "html": @@ -71,7 +72,8 @@ """ Public method to set the path of the bookmarks file or directory. - @param path bookmarks file or directory (string) + @param path bookmarks file or directory + @type str """ self.__fileName = path @@ -79,7 +81,8 @@ """ Public method to open the bookmarks file. - @return flag indicating success (boolean) + @return flag indicating success + @rtype bool """ if not os.path.exists(self.__fileName): self._error = True @@ -93,7 +96,8 @@ """ Public method to get the imported bookmarks. - @return imported bookmarks (BookmarkNode) + @return imported bookmarks + @rtype BookmarkNode """ from ..BookmarkNode import BookmarkNode from ..NsHtmlReader import NsHtmlReader