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

Method close

Lib/mailbox.py:1182–1185  ·  view source on GitHub ↗

Flush and close the mailbox.

(self)

Source from the content-addressed store, hash-verified

1180 return
1181
1182 def close(self):
1183 """Flush and close the mailbox."""
1184 if self._locked:
1185 self.unlock()
1186
1187 def list_folders(self):
1188 """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