MCPcopy Index your code
hub / github.com/python/cpython / flush

Method flush

Lib/test/test_unittest/support.py:149–151  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

147 self.buffer += arg
148
149 def flush(self):
150 self.result += self.buffer
151 self.buffer = ''
152
153 def getvalue(self):
154 return self.result

Callers 2

runMethod · 0.95

Calls

no outgoing calls

Tested by 2

runMethod · 0.76