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 / info

function

IPython.core.oinspect:Inspector.info

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

Signature

def   info ( self obj oname = '' info = None detail_level = 0 )  →  InfoDict

Summary

Compute a dict with detailed information about an object.

Parameters

obj : any

An object to find information about

oname : str (default: '')

Name of the variable pointing to obj.

info : (default: None)

A struct (dict like with attr access) with some information fields which may have been precomputed already.

detail_level : int (default:0)

If set to 1, more information is given.

Returns

: An object info dict with known fields from `info_fields` (see `InfoDict`).

Aliases

  • IPython.core.oinspect.Inspector.info