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

Method store

Lib/imaplib.py:946–954  ·  view source on GitHub ↗

Alters flag dispositions for messages in mailbox. (typ, [data]) = .store(message_set, command, flags)

(self, message_set, command, flags)

Source from the content-addressed store, hash-verified

944
945
946 def store(self, message_set, command, flags):
947 """Alters flag dispositions for messages in mailbox.
948
949 (typ, [data]) = <instance>.store(message_set, command, flags)
950 """
951 if (flags[0],flags[-1]) != ('(',')'):
952 flags = '(%s)' % flags # Avoid quoting the flags
953 typ, dat = self._simple_command('STORE', message_set, command, flags)
954 return self._untagged_response(typ, dat, 'FETCH')
955
956
957 def subscribe(self, mailbox):

Callers 1

promptMethod · 0.45

Calls 2

_simple_commandMethod · 0.95
_untagged_responseMethod · 0.95

Tested by

no test coverage detected