{ } Raw JSON

bundles / IPython 9.17.0 / IPython / core / interactiveshell / InteractiveShell / showindentationerror

function

IPython.core.interactiveshell:InteractiveShell.showindentationerror

source: /dev/ipython/IPython/core/interactiveshell.py:2346

Signature

def showindentationerror(self)

Summary

Called by _run_cell when there's an IndentationError in code entered at the prompt.

Extended Summary

This is overridden in TerminalInteractiveShell to show a message about the %paste magic.

Aliases

  • IPython.InteractiveShell.showindentationerror