--- a/src/eric7/WebBrowser/Bookmarks/XbelWriter.py Fri Dec 22 13:57:47 2023 +0100 +++ b/src/eric7/WebBrowser/Bookmarks/XbelWriter.py Fri Dec 22 17:24:07 2023 +0100 @@ -29,10 +29,13 @@ """ Public method to write an XBEL bookmark file. - @param fileNameOrDevice name of the file to write (string) + @param fileNameOrDevice name of the file to write + @type str or device to write to (QIODevice) - @param root root node of the bookmark tree (BookmarkNode) - @return flag indicating success (boolean) + @param root root node of the bookmark tree + @type BookmarkNode + @return flag indicating success + @rtype bool """ if isinstance(fileNameOrDevice, QIODevice): f = fileNameOrDevice @@ -48,8 +51,10 @@ """ Private method to write an XBEL bookmark file. - @param root root node of the bookmark tree (BookmarkNode) - @return flag indicating success (boolean) + @param root root node of the bookmark tree + @type BookmarkNode + @return flag indicating success + @rtype bool """ self.writeStartDocument() self.writeDTD("<!DOCTYPE xbel>") @@ -68,7 +73,8 @@ """ Private method to write an entry for a node. - @param node reference to the node to be written (BookmarkNode) + @param node reference to the node to be written + @type BookmarkNode """ if node.type() == BookmarkNode.Folder: self.writeStartElement("folder")