eric6/QScintilla/DocstringGenerator/GoogledocGenerator.py

changeset 8000
47b15df088e4
parent 7998
cd41c844862f
equal deleted inserted replaced
7999:159689297bc0 8000:47b15df088e4
22 @param editor reference to the editor 22 @param editor reference to the editor
23 @type Editor 23 @type Editor
24 @return list of docstring lines 24 @return list of docstring lines
25 @rtype str 25 @rtype str
26 """ 26 """
27 # __IGNORE_WARNING_D202__
27 lines = [] 28 lines = []
28 29
29 # function description 30 # function description
30 lines.append("DESCRIPTION") 31 lines.append("")
31 32
32 # remove 'self', 'this' or 'cls' from arguments list 33 # remove 'self', 'this' or 'cls' from arguments list
33 if ( 34 if (
34 len(functionInfo.argumentsList) > 0 and 35 len(functionInfo.argumentsList) > 0 and
35 functionInfo.argumentsList[0][0] in ("self", "cls", "this") 36 functionInfo.argumentsList[0][0] in ("self", "cls", "this")

eric ide

mercurial