Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __init__
Method
__init__
Lib/idlelib/idle_test/test_run.py:103–104 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
101
102
class
MockShell:
103
def
__init__(self):
104
self.reset()
105
def
write(self, *args):
106
self.written.append(args)
107
def
readline(self):
Callers
nothing calls this directly
Calls
1
reset
Method · 0.95
Tested by
no test coverage detected