Utilities/ClassBrowsers/pyclbr.py

changeset 1229
a8207dc73672
parent 1227
c5db073a124f
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1228:7afaf2fca55b 1229:a8207dc73672
281 start, i = m.span() 281 start, i = m.span()
282 282
283 if m.start("MethodModifier") >= 0: 283 if m.start("MethodModifier") >= 0:
284 modifierIndent = _indent(m.group("MethodModifierIndent")) 284 modifierIndent = _indent(m.group("MethodModifierIndent"))
285 modifierType = m.group("MethodModifierType") 285 modifierType = m.group("MethodModifierType")
286
286 elif m.start("Method") >= 0: 287 elif m.start("Method") >= 0:
287 # found a method definition or function 288 # found a method definition or function
288 thisindent = _indent(m.group("MethodIndent")) 289 thisindent = _indent(m.group("MethodIndent"))
289 meth_name = m.group("MethodName") 290 meth_name = m.group("MethodName")
290 meth_sig = m.group("MethodSignature") 291 meth_sig = m.group("MethodSignature")

eric ide

mercurial