MCPcopy Create free account
hub / github.com/ipython/ipython / __init__

Method __init__

IPython/terminal/ptutils.py:86–90  ·  view source on GitHub ↗
(self, ipy_completer=None, shell=None)

Source from the content-addressed store, hash-verified

84class IPythonPTCompleter(Completer):
85 """Adaptor to provide IPython completions to prompt_toolkit"""
86 def __init__(self, ipy_completer=None, shell=None):
87 if shell is None and ipy_completer is None:
88 raise TypeError("Please pass shell=an InteractiveShell instance.")
89 self._ipy_completer = ipy_completer
90 self.shell = shell
91
92 @property
93 def ipy_completer(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected