class twisted.mail._pop3client._ListSetter: (source)
A utility class to construct a list from a multi-line response accounting for deleted messages.
POP3 responses sometimes occur in the form of a list of lines containing two pieces of data, a message index and a value of some sort. When a message is deleted, it is omitted from these responses. The setitem
method of this class is meant to be called with these two values. In the cases where indices are skipped, it takes care of padding out the missing values with None
.
Instance Variable | L | See __init__ |
Method | __init__ | |
Method | setitem | Add the value at the specified position, padding out missing entries. |