Lines Matching refs:list
141 multipart or a message/rfc822), then the payload is a list of Message
213 return isinstance(self._payload, list)
230 The current payload will always be a list of objects after this method
246 The payload will either be a list object or a string. If you mutate
247 the list object, you modify the message's payload in place. Optional
268 # None False True _payload (a list)
270 # i False False error (not a list)
271 # i True False error (not a list)
286 if i is not None and not isinstance(self._payload, list):
287 raise TypeError('Expected list, got %s' % type(self._payload))
458 """Return a list of all the message's header field names.
463 list.
468 """Return a list of all the message's header values.
473 list.
484 list.
525 """Return a list of all the values for the named field.
529 re-inserted are always appended to the header list.
673 """Return the message's Content-Type parameters, as a list.
675 The elements of the returned list are 2-tuples of key/value pairs, as
939 """Return a list containing the charset(s) used in this message.
941 The returned list of items describes the Content-Type headers'
950 The list will contain one string for each part of the message, plus
952 message will still return a list of length 1.
1078 # payload is not a list, it is most probably a string.