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

bundles / IPython 9.5.0 / IPython / core / oinspect / Inspector / _get_info

function

IPython.core.oinspect:Inspector._get_info

source: /IPython/core/oinspect.py :749

Signature

def   _get_info ( self obj : Any oname : str = '' formatter = None info : Optional[OInfo] = None detail_level : int = 0 omit_sections : Union[List[str], Tuple[()]] = () )  →  Bundle

Summary

Retrieve an info dict and format it.

Parameters

obj : any

Object to inspect and return info from

oname : str (default: ''):

Name of the variable pointing to obj.

formatter : callable
info

already computed information

detail_level : integer

Granularity of detail level, if set to 1, give more information.

omit_sections : list[str]

Titles or keys to omit from output (can be set, tuple, etc., anything supporting in)

Aliases

  • IPython.core.oinspect.Inspector._get_info