##// END OF EJS Templates
Remove old code for function detection
Skipper Seabold -
Show More
@@ -496,8 +496,6 b' class EmbeddedSphinxShell(object):'
496 except Exception: # on a multiline
496 except Exception: # on a multiline
497 multiline = True
497 multiline = True
498 multiline_start = lineno
498 multiline_start = lineno
499 if line_stripped.startswith('def '):
500 is_function = True
501 else: # still on a multiline
499 else: # still on a multiline
502 modified = u'%s %s' % (continuation, line)
500 modified = u'%s %s' % (continuation, line)
503 output.append(modified)
501 output.append(modified)
General Comments 0
You need to be logged in to leave comments. Login now