You are viewing an older version (9.10.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.10.0 / IPython / core / interactiveshell / InteractiveShell / auto_rewrite_input

function

IPython.core.interactiveshell:InteractiveShell.auto_rewrite_input

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

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