Corrected another issue in the 'googledoc' documentation generator. eric7

Thu, 04 Apr 2024 11:15:31 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 04 Apr 2024 11:15:31 +0200
branch
eric7
changeset 10666
62bd82ee4b7d
parent 10665
66564661c3b5
child 10667
a82709c26b19

Corrected another issue in the 'googledoc' documentation generator.

src/eric7/QScintilla/DocstringGenerator/GoogledocGenerator.py file | annotate | diff | comparison | revisions
--- a/src/eric7/QScintilla/DocstringGenerator/GoogledocGenerator.py	Thu Apr 04 10:09:56 2024 +0200
+++ b/src/eric7/QScintilla/DocstringGenerator/GoogledocGenerator.py	Thu Apr 04 11:15:31 2024 +0200
@@ -76,7 +76,7 @@
             "{0}{1}: DESCRIPTION".format(indent, functionInfo.returnTypeAnnotated)
         )
     elif functionInfo.returnValueInBody:
-        lines.append("{0}TYPE: DESCRIPTION")
+        lines.append("{0}TYPE: DESCRIPTION".format(indent))
     else:
         lines.append("{0}None".format(indent))
 

eric ide

mercurial