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

Class AddressList

Lib/email/_header_value_parser.py:306–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304 return [self.content]
305
306class AddressList(TokenList):
307
308 token_type = 'address-list'
309
310 @property
311 def addresses(self):
312 return [x for x in self if x.token_type=='address']
313
314 @property
315 def mailboxes(self):
316 return sum((x.mailboxes
317 for x in self if x.token_type=='address'), [])
318
319 @property
320 def all_mailboxes(self):
321 return sum((x.all_mailboxes
322 for x in self if x.token_type=='address'), [])
323
324
325class Address(TokenList):

Callers 1

get_address_listFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…