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

Method copy

Lib/imaplib.py:562–567  ·  view source on GitHub ↗

Copy 'message_set' messages onto end of 'new_mailbox'. (typ, [data]) = .copy(message_set, new_mailbox)

(self, message_set, new_mailbox)

Source from the content-addressed store, hash-verified

560
561
562 def copy(self, message_set, new_mailbox):
563 """Copy 'message_set' messages onto end of 'new_mailbox'.
564
565 (typ, [data]) = <instance>.copy(message_set, new_mailbox)
566 """
567 return self._simple_command('COPY', message_set, new_mailbox)
568
569
570 def create(self, mailbox):

Callers

nothing calls this directly

Calls 1

_simple_commandMethod · 0.95

Tested by

no test coverage detected