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

Method addr_spec

Lib/email/_header_value_parser.py:452–460  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

450
451 @property
452 def addr_spec(self):
453 for x in self:
454 if x.token_type == 'addr-spec':
455 if x.local_part:
456 return x.addr_spec
457 else:
458 return quote_string(x.local_part) + x.addr_spec
459 else:
460 return '<>'
461
462
463class ObsRoute(TokenList):

Callers

nothing calls this directly

Calls 1

quote_stringFunction · 0.85

Tested by

no test coverage detected