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

Method close

Lib/logging/handlers.py:1361–1370  ·  view source on GitHub ↗

Close the handler. This version just flushes and chains to the parent class' close().

(self)

Source from the content-addressed store, hash-verified

1359 self.buffer.clear()
1360
1361 def close(self):
1362 """
1363 Close the handler.
1364
1365 This version just flushes and chains to the parent class' close().
1366 """
1367 try:
1368 self.flush()
1369 finally:
1370 logging.Handler.close(self)
1371
1372class MemoryHandler(BufferingHandler):
1373 """

Callers 1

test_builtin_handlersMethod · 0.95

Calls 2

flushMethod · 0.95
closeMethod · 0.45

Tested by 1

test_builtin_handlersMethod · 0.76