Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ flush
Method
flush
Lib/_pyio.py:2245–2247 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2243
return
self.buffer.writable()
2244
2245
def
flush(self):
2246
self.buffer.flush()
2247
self._telling = self._seekable
2248
2249
def
close(self):
2250
if
self.buffer is not None and not self.closed:
Callers
15
reconfigure
Method · 0.95
close
Method · 0.95
write
Method · 0.95
tell
Method · 0.95
truncate
Method · 0.95
detach
Method · 0.95
seek
Method · 0.95
test_encoding_errors_writing
Method · 0.95
test_newlines_output
Method · 0.95
test_writelines
Method · 0.95
test_writelines_userlist
Method · 0.95
test_reconfigure_write_through
Method · 0.95
Calls
1
flush
Method · 0.45
Tested by
9
test_encoding_errors_writing
Method · 0.76
test_newlines_output
Method · 0.76
test_writelines
Method · 0.76
test_writelines_userlist
Method · 0.76
test_reconfigure_write_through
Method · 0.76
test_reconfigure_write_fromascii
Method · 0.76
test_reconfigure_write
Method · 0.76
test_reconfigure_write_non_seekable
Method · 0.76
test_issue119506
Method · 0.76