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

bundles / IPython 9.14.0.dev / IPython / core / completer / IPCompleter / __init__

function

IPython.core.completer:IPCompleter.__init__

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

Signature

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

Summary

IPCompleter() -> completer

Extended Summary

Return a completer object.

Parameters

shell

a pointer to the ipython shell itself. This is needed because this completer knows about magic functions, and those can only be accessed via the ipython instance.

namespace : dict, optional

an optional dict where completions are performed.

global_namespace : dict, optional

secondary optional dict for completions, to handle cases (such as IPython embedded inside functions) where both Python scopes are visible.

config : Config

traitlet's config object

**kwargs

passed to super class unmodified.

Aliases

  • IPython.core.completer.IPCompleter.__init__