{ } Raw JSON

bundles / IPython 9.13.0 / IPython / core / history / HistoryManager / store_inputs

function

IPython.core.history:HistoryManager.store_inputs

source: /IPython/core/history.py :967

Signature

def   store_inputs ( self line_num : int source : str source_raw : Optional[str] = None )  →  None

Summary

Store source and raw input in history and create input cache variables _i*.

Parameters

line_num : int

The prompt number of this input.

source : str

Python input.

source_raw : str, optional

If given, this is the raw input without any IPython transformations applied to it. If not given, source is used.

Aliases

  • IPython.core.history.HistoryManager.store_inputs