bundles / IPython 9.5.0 / IPython / core / history / HistoryManager / store_inputs
function
IPython.core.history:HistoryManager.store_inputs
source: /IPython/core/history.py :940
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: intThe prompt number of this input.
source: strPython input.
source_raw: str, optionalIf given, this is the raw input without any IPython transformations applied to it. If not given,
sourceis used.
Aliases
-
IPython.core.history.HistoryManager.store_inputs