494 start, i = m.span() |
494 start, i = m.span() |
495 |
495 |
496 if m.start("MethodModifier") >= 0: |
496 if m.start("MethodModifier") >= 0: |
497 modifierIndent = _indent(m.group("MethodModifierIndent")) |
497 modifierIndent = _indent(m.group("MethodModifierIndent")) |
498 modifierType = m.group("MethodModifierType") |
498 modifierType = m.group("MethodModifierType") |
|
499 |
499 elif m.start("Method") >= 0: |
500 elif m.start("Method") >= 0: |
500 # found a method definition or function |
501 # found a method definition or function |
501 thisindent = _indent(m.group("MethodIndent")) |
502 thisindent = _indent(m.group("MethodIndent")) |
502 meth_name = m.group("MethodName") |
503 meth_name = m.group("MethodName") |
503 meth_sig = m.group("MethodSignature") |
504 meth_sig = m.group("MethodSignature") |