diff -r 0f3620304d7a -r 5a8179763e38 src/eric7/QScintilla/DocstringGenerator/EricdocGenerator.py --- a/src/eric7/QScintilla/DocstringGenerator/EricdocGenerator.py Tue Nov 08 11:34:19 2022 +0100 +++ b/src/eric7/QScintilla/DocstringGenerator/EricdocGenerator.py Tue Nov 08 11:50:50 2022 +0100 @@ -8,16 +8,19 @@ """ -def generateEricDoc(functionInfo): +def generateDoc(functionInfo, editor): """ - Function to generate the docstring line list iaw. eric documentation style. + Function to generate the docstring line list iaw. eric documentation + style. - Note: Partial English text is created with DESCRIPTION placeholders - for descriptions and TYPE placeholders for type information + Note: Text is created with DESCRIPTION placeholders for descriptions and + TYPE placeholders for type information @param functionInfo object containing the function information to base the docstring on @type FunctionInfo + @param editor reference to the editor + @type Editor @return list of docstring lines @rtype str """