bundles / IPython 9.12.0 / IPython / core / completer / IPCompleter / __init__
function
IPython.core.completer:IPCompleter.__init__
source: /IPython/core/completer.py :2053
Signature
def __init__ ( self , shell = None , namespace = None , global_namespace = None , config = None , ** kwargs ) Summary
IPCompleter() -> completer
Extended Summary
Return a completer object.
Parameters
shella 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, optionalan optional dict where completions are performed.
global_namespace: dict, optionalsecondary optional dict for completions, to handle cases (such as IPython embedded inside functions) where both Python scopes are visible.
config: Configtraitlet's config object
**kwargspassed to super class unmodified.
Aliases
-
IPython.core.completer.IPCompleter.__init__