Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ flush
Method
flush
Lib/_pyio.py:2221–2223 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2219
return
self.buffer.writable()
2220
2221
def
flush(self):
2222
self.buffer.flush()
2223
self._telling = self._seekable
2224
2225
def
close(self):
2226
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