MCPcopy Create free account
hub / github.com/ipython/ipython / info

Method info

IPython/core/oinspect.py:685–692  ·  view source on GitHub ↗

DEPRECATED. Compute a dict with detailed information about an object.

(self, obj, oname='', formatter=None, info=None, detail_level=0)

Source from the content-addressed store, hash-verified

683 page.page(info)
684
685 def info(self, obj, oname='', formatter=None, info=None, detail_level=0):
686 """DEPRECATED. Compute a dict with detailed information about an object.
687 """
688 if formatter is not None:
689 warnings.warn('The `formatter` keyword argument to `Inspector.info`'
690 'is deprecated as of IPython 5.0 and will have no effects.',
691 DeprecationWarning, stacklevel=2)
692 return self._info(obj, oname=oname, info=info, detail_level=detail_level)
693
694 def _info(self, obj, oname='', info=None, detail_level=0) -> dict:
695 """Compute a dict with detailed information about an object.

Callers 15

runMethod · 0.80
init_profile_dirMethod · 0.80
init_gui_pylabMethod · 0.80
init_extensionsMethod · 0.80
_run_exec_linesMethod · 0.80
_exec_fileMethod · 0.80
_run_cmd_line_codeMethod · 0.80
_import_appMethod · 0.80
object_inspectMethod · 0.80
test_reset_redefineMethod · 0.80
test_infoFunction · 0.80
test_class_signatureFunction · 0.80

Calls 2

_infoMethod · 0.95
warnMethod · 0.80

Tested by 12

test_reset_redefineMethod · 0.64
test_infoFunction · 0.64
test_class_signatureFunction · 0.64
test_info_awkwardFunction · 0.64
test_bool_raiseFunction · 0.64
test_info_serialliarFunction · 0.64
test_calldef_noneFunction · 0.64
test_property_sourcesFunction · 0.64
test_init_colorsFunction · 0.64
test_builtin_initFunction · 0.64