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

Method expunge

Lib/imaplib.py:607–618  ·  view source on GitHub ↗

Permanently remove deleted items from selected mailbox. Generates 'EXPUNGE' response for each deleted message. (typ, [data]) = .expunge() 'data' is list of 'EXPUNGE'd message numbers in order received.

(self)

Source from the content-addressed store, hash-verified

605 return typ, data
606
607 def expunge(self):
608 """Permanently remove deleted items from selected mailbox.
609
610 Generates 'EXPUNGE' response for each deleted message.
611
612 (typ, [data]) = <instance>.expunge()
613
614 'data' is list of 'EXPUNGE'd message numbers in order received.
615 """
616 name = 'EXPUNGE'
617 typ, dat = self._simple_command(name)
618 return self._untagged_response(typ, dat, name)
619
620
621 def fetch(self, message_set, message_parts):

Callers

nothing calls this directly

Calls 2

_simple_commandMethod · 0.95
_untagged_responseMethod · 0.95

Tested by

no test coverage detected