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

Method unlock

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

Unlock the mailbox if it is locked.

(self)

Source from the content-addressed store, hash-verified

644 self._locked = True
645
646 def unlock(self):
647 """Unlock the mailbox if it is locked."""
648 if self._locked:
649 _unlock_file(self._file)
650 self._locked = False
651
652 def flush(self):
653 """Write any pending changes to disk."""

Callers 1

closeMethod · 0.95

Calls 1

_unlock_fileFunction · 0.85

Tested by

no test coverage detected