This is a development version (latest) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython latest / IPython / utils / generics / complete_object

function

IPython.utils.generics:complete_object

source: /IPython/utils/generics.py :18

Signature

def   complete_object ( obj : Any prev_completions : list[str] )  →  list[str]

Summary

Custom completer dispatching for python objects.

Parameters

obj : object

The object to complete.

prev_completions : list

List of attributes discovered so far.

This should return the list of attributes in obj. If you only wish to
add to the attributes already discovered normally, return
own_attrs + prev_completions.

Aliases

  • IPython.utils.generics.complete_object