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

Method __init__

IPython/core/inputsplitter.py:330–335  ·  view source on GitHub ↗

Create a new InputSplitter instance.

(self)

Source from the content-addressed store, hash-verified

328 _is_invalid = False
329
330 def __init__(self):
331 """Create a new InputSplitter instance.
332 """
333 self._buffer = []
334 self._compile = codeop.CommandCompiler()
335 self.encoding = get_input_encoding()
336
337 def reset(self):
338 """Reset the input buffer and associated state."""

Callers 1

__init__Method · 0.45

Calls 1

get_input_encodingFunction · 0.85

Tested by

no test coverage detected