MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / close

Method close

tools/python-3.11.9-amd64/Lib/mailbox.py:1112–1115  ·  view source on GitHub ↗

Flush and close the mailbox.

(self)

Source from the content-addressed store, hash-verified

1110 return
1111
1112 def close(self):
1113 """Flush and close the mailbox."""
1114 if self._locked:
1115 self.unlock()
1116
1117 def list_folders(self):
1118 """Return a list of folder names."""

Callers 12

addMethod · 0.45
add_folderMethod · 0.45
flushMethod · 0.45
closeMethod · 0.45
__init__Method · 0.45
removeMethod · 0.45
__setitem__Method · 0.45
set_sequencesMethod · 0.45
closeMethod · 0.45
_lock_fileFunction · 0.45
_create_carefullyFunction · 0.45
_sync_closeFunction · 0.45

Calls 1

unlockMethod · 0.95

Tested by

no test coverage detected