MCPcopy Index your code
hub / github.com/RustPython/RustPython / flush

Method flush

Lib/logging/handlers.py:1352–1359  ·  view source on GitHub ↗

Override to implement custom flushing behaviour. This version just zaps the buffer to empty.

(self)

Source from the content-addressed store, hash-verified

1350 self.flush()
1351
1352 def flush(self):
1353 """
1354 Override to implement custom flushing behaviour.
1355
1356 This version just zaps the buffer to empty.
1357 """
1358 with self.lock:
1359 self.buffer.clear()
1360
1361 def close(self):
1362 """

Callers 2

emitMethod · 0.95
closeMethod · 0.95

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected