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

bundles / IPython 9.11.0 / IPython / core / interactiveshell / InteractiveShell / auto_rewrite_input

function

IPython.core.interactiveshell:InteractiveShell.auto_rewrite_input

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

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