Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
push
Method · 0.95
output
Method · 0.95
reset
Method · 0.95
Calls
1
generate_tokens
Function · 0.85
Tested by
no test coverage detected