This is a development version (9.14.0.dev) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.14.0.dev / IPython / core / interactiveshell / InteractiveShell / auto_rewrite_input

function

IPython.core.interactiveshell:InteractiveShell.auto_rewrite_input

source: /IPython/core/interactiveshell.py :2831

Signature

def   auto_rewrite_input ( self cmd )

Summary

Print to the screen the rewritten form of the user's command.

Extended Summary

This shows visual feedback by rewriting input lines that cause automatic calling to kick in, like

/f x

into

------> f(x)

after the user's input prompt. This helps the user understand that the input line was transformed automatically by IPython.

Aliases

  • IPython.InteractiveShell.auto_rewrite_input