Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ reset
Method
reset
IPython/lib/lexers.py:332–336 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
330
self.reset()
331
332
def
reset(self):
333
self.mode =
'output'
334
self.index = 0
335
self.buffer = u
''
336
self.insertions = []
337
338
def
buffered_tokens(self):
339
""
"
Callers
2
__init__
Method · 0.95
get_tokens_unprocessed
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected