Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ flush
Method
flush
Lib/_pyio.py:1273–1275 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1271
return
self.raw.truncate(pos)
1272
1273
def
flush(self):
1274
with
self._write_lock:
1275
self._flush_unlocked()
1276
1277
def
_flush_unlocked(self):
1278
if
self.closed:
Callers
1
close
Method · 0.95
Calls
1
_flush_unlocked
Method · 0.95
Tested by
no test coverage detected