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

Method flush

Lib/logging/__init__.py:1134–1140  ·  view source on GitHub ↗

Flushes the stream.

(self)

Source from the content-addressed store, hash-verified

1132 self.stream = stream
1133
1134 def flush(self):
1135 """
1136 Flushes the stream.
1137 """
1138 with self.lock:
1139 if self.stream and hasattr(self.stream, "flush"):
1140 self.stream.flush()
1141
1142 def emit(self, record):
1143 """

Callers 3

emitMethod · 0.95
setStreamMethod · 0.95

Calls 1

flushMethod · 0.45

Tested by 1