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

bundles / IPython latest / IPython / core / completer / Completer / __init__

function

IPython.core.completer:Completer.__init__

source: /IPython/core/completer.py :1075

Signature

def   __init__ ( self namespace = None global_namespace = None ** kwargs )

Summary

Create a new completer for the command line.

Extended Summary

Completer(namespace=ns, global_namespace=ns2) -> completer instance.

If unspecified, the default namespace where completions are performed is __main__ (technically, __main__.__dict__). Namespaces should be given as dictionaries.

An optional second namespace can be given. This allows the completer to handle cases where both the local and global scopes need to be distinguished.

Aliases

  • IPython.core.completer.Completer.__init__