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

Method reset_tokenizer

IPython/core/inputtransformer.py:128–130  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

126 self.reset_tokenizer()
127
128 def reset_tokenizer(self):
129 it = iter(self.buf)
130 self.tokenizer = generate_tokens(it.__next__)
131
132 def push(self, line):
133 self.buf.append(line + '\n')

Callers 4

__init__Method · 0.95
pushMethod · 0.95
outputMethod · 0.95
resetMethod · 0.95

Calls 1

generate_tokensFunction · 0.85

Tested by

no test coverage detected