bundles / IPython latest / IPython / utils / generics / complete_object
function
IPython.utils.generics:complete_object
source: /IPython/utils/generics.py:37
Signature
def complete_object(obj: Any, prev_completions: list[str]) → list[str]Summary
Custom completer dispatching for python objects.
Parameters
obj: objectThe object to complete.
prev_completions: listList of attributes discovered so far.
This should return the list of attributes in obj. If you only wish toadd to the attributes already discovered normally, returnown_attrs + prev_completions.
Aliases
IPython.utils.generics.complete_object