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

Method close

Lib/mailbox.py:1189–1192  ·  view source on GitHub ↗

Flush and close the mailbox.

(self)

Source from the content-addressed store, hash-verified

1187 return
1188
1189 def close(self):
1190 """Flush and close the mailbox."""
1191 if self._locked:
1192 self.unlock()
1193
1194 def list_folders(self):
1195 """Return a list of folder names."""

Callers 11

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
_sync_closeFunction · 0.45

Calls 1

unlockMethod · 0.95

Tested by

no test coverage detected