Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ write
Method
write
Lib/idlelib/idle_test/test_run.py:105–106 ·
view source on GitHub ↗
(self, *args)
Source
from the content-addressed store, hash-verified
103
def
__init__(self):
104
self.reset()
105
def
write(self, *args):
106
self.written.append(args)
107
def
readline(self):
108
return
self.lines.pop()
109
def
close(self):
Callers
5
test_write_no_tags
Method · 0.45
test_write_not_stdout
Method · 0.45
test_write_stdout
Method · 0.45
test_auto_squeeze
Method · 0.45
test_goto_file_line
Method · 0.45
Calls
1
append
Method · 0.45
Tested by
no test coverage detected