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

Method flush

Lib/logging/handlers.py:1372–1379  ·  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

1370 self.flush()
1371
1372 def flush(self):
1373 """
1374 Override to implement custom flushing behaviour.
1375
1376 This version just zaps the buffer to empty.
1377 """
1378 with self.lock:
1379 self.buffer.clear()
1380
1381 def close(self):
1382 """

Callers 2

emitMethod · 0.95
closeMethod · 0.95

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected