diff -r 809d5d5ac2ba -r 871b40c5a77a eric6/Graphics/UMLDialog.py --- a/eric6/Graphics/UMLDialog.py Tue May 04 19:30:25 2021 +0200 +++ b/eric6/Graphics/UMLDialog.py Tue May 04 20:03:40 2021 +0200 @@ -156,7 +156,8 @@ Public method to show the dialog. @param fromFile flag indicating, that the diagram was loaded - from file (boolean) + from file + @type bool """ if not fromFile and self.builder: self.builder.buildDiagram() @@ -164,7 +165,7 @@ def __relayout(self): """ - Private method to relayout the diagram. + Private method to re-layout the diagram. """ if self.builder: self.builder.buildDiagram() @@ -213,7 +214,8 @@ """ Private slot to save the diagram. - @param filename name of the file to write to (string) + @param filename name of the file to write to + @type str """ if not filename: fname, selectedFilter = E5FileDialog.getSaveFileNameAndFilter( @@ -285,7 +287,7 @@ "", self.tr("Eric Graphics File (*.e5g);;All Files (*)")) if not filename: - # Cancelled by user + # Canceled by user return False try: @@ -380,8 +382,10 @@ """ Private slot to show a message dialog indicating an invalid data file. - @param filename name of the file containing the invalid data (string) - @param linenum number of the invalid line (integer) + @param filename name of the file containing the invalid data + @type str + @param linenum number of the invalid line + @type int """ msg = ( self.tr("""<p>The file <b>{0}</b> does not contain"""