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

Method reset

IPython/core/inputtransformer.py:111–115  ·  view source on GitHub ↗

Return, transformed any lines that the transformer has accumulated, and reset its internal state.

(self)

Source from the content-addressed store, hash-verified

109 return self.coro.send(line)
110
111 def reset(self):
112 """Return, transformed any lines that the transformer has
113 accumulated, and reset its internal state.
114 """
115 return self.coro.send(None)
116
117class TokenInputTransformer(InputTransformer):
118 """Wrapper for a token-based input transformer.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected