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

Method flush

Lib/_pyio.py:804–807  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

802 ### Flush and close ###
803
804 def flush(self):
805 if self.closed:
806 raise ValueError("flush on closed file")
807 self.raw.flush()
808
809 def close(self):
810 if self.raw is not None and not self.closed:

Callers 3

truncateMethod · 0.95
closeMethod · 0.95
detachMethod · 0.95

Calls 1

flushMethod · 0.45

Tested by

no test coverage detected