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

Method remove_sequence

Lib/mailbox.py:1853–1858  ·  view source on GitHub ↗

Remove sequence from the list of sequences including the message.

(self, sequence)

Source from the content-addressed store, hash-verified

1851 raise TypeError('sequence type must be str: %s' % type(sequence))
1852
1853 def remove_sequence(self, sequence):
1854 """Remove sequence from the list of sequences including the message."""
1855 try:
1856 self._sequences.remove(sequence)
1857 except ValueError:
1858 pass
1859
1860 def _explain_to(self, message):
1861 """Copy MH-specific state to message insofar as possible."""

Callers 1

test_sequencesMethod · 0.95

Calls 1

removeMethod · 0.45

Tested by 1

test_sequencesMethod · 0.76