MCPcopy 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
5215class TestStdinBadfiledescriptor(unittest.TestCase):
5216

Callers 1

test_flushingMethod · 0.45

Calls 2

writeMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected