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

Class Group

Lib/email/_header_value_parser.py:381–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379
380
381class Group(TokenList):
382
383 token_type = "group"
384
385 @property
386 def mailboxes(self):
387 if self[2].token_type != 'group-list':
388 return []
389 return self[2].mailboxes
390
391 @property
392 def all_mailboxes(self):
393 if self[2].token_type != 'group-list':
394 return []
395 return self[2].all_mailboxes
396
397 @property
398 def display_name(self):
399 return self[0].display_name
400
401
402class NameAddr(TokenList):

Callers 1

get_groupFunction · 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…