Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustPython/RustPython
/ flush
Method
flush
Lib/test/_test_multiprocessing.py:5211–5213 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
5209
self.cache.append(data)
5210
5211
def
flush(self):
5212
self._delegate.write(
''
.join(self.cache))
5213
self._cache = []
5214
5215
class
TestStdinBadfiledescriptor(unittest.TestCase):
5216
Callers
1
test_flushing
Method · 0.45
Calls
2
write
Method · 0.45
join
Method · 0.45
Tested by
no test coverage detected