src/eric7/QScintilla/DocstringGenerator/GoogledocGenerator.py

branch
eric7
changeset 10666
62bd82ee4b7d
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
diff -r 66564661c3b5 -r 62bd82ee4b7d src/eric7/QScintilla/DocstringGenerator/GoogledocGenerator.py
--- 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