##// END OF EJS Templates
Make showindentationerror a separate function, so it can have its own docstring.
Thomas Kluyver -
Show More
@@ -1608,7 +1608,13 b' class InteractiveShell(SingletonConfigurable, Magic):'
1608
1608
1609 # This is overridden in TerminalInteractiveShell to show a message about
1609 # This is overridden in TerminalInteractiveShell to show a message about
1610 # the %paste magic.
1610 # the %paste magic.
1611 showindentationerror = showsyntaxerror
1611 def showindentationerror(self):
1612 """Called by run_cell when there's an IndentationError in code entered
1613 at the prompt.
1614
1615 This is overridden in TerminalInteractiveShell to show a message about
1616 the %paste magic."""
1617 self.showsyntaxerror()
1612
1618
1613 #-------------------------------------------------------------------------
1619 #-------------------------------------------------------------------------
1614 # Things related to readline
1620 # Things related to readline
General Comments 0
You need to be logged in to leave comments. Login now