eric6/QScintilla/DocstringGenerator/BaseDocstringGenerator.py

changeset 8207
d359172d11be
parent 8143
2c730d5fd177
child 8218
7c09585bd960
equal deleted inserted replaced
8206:adf11836cfce 8207:d359172d11be
33 indent = ret.group(1) 33 indent = ret.group(1)
34 34
35 return indent 35 return indent
36 36
37 37
38 class BaseDocstringGenerator(object): 38 class BaseDocstringGenerator:
39 """ 39 """
40 Class implementing a docstring generator base class. 40 Class implementing a docstring generator base class.
41 """ 41 """
42 def __init__(self, editor): 42 def __init__(self, editor):
43 """ 43 """
159 return generateSphinxDoc(functionInfo) 159 return generateSphinxDoc(functionInfo)
160 else: 160 else:
161 return [] 161 return []
162 162
163 163
164 class FunctionInfo(object): 164 class FunctionInfo:
165 """ 165 """
166 Class implementing an object to store function information. 166 Class implementing an object to store function information.
167 167
168 Methods to extract the relevant information need to be implemented in 168 Methods to extract the relevant information need to be implemented in
169 language specific subclasses. 169 language specific subclasses.

eric ide

mercurial