Module: utils.generics

Generic functions for extending IPython.

2 Functions

IPython.utils.generics.inspect_object(obj: Any) None

Called when you do obj?

IPython.utils.generics.complete_object(obj: Any, prev_completions: list[str]) list[str]

Custom completer dispatching for python objects.

Parameters:
  • obj (object) – The object to complete.

  • prev_completions (list) – List of attributes discovered so far.

  • to (This should return the list of attributes in obj. If you only wish)

  • normally (add to the attributes already discovered)

  • return

  • prev_completions. (own_attrs +)