MCPcopy Index your code
hub / github.com/RustPython/RustPython / addr_spec

Method addr_spec

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

Source from the content-addressed store, hash-verified

443
444 @property
445 def addr_spec(self):
446 for x in self:
447 if x.token_type == 'addr-spec':
448 if x.local_part:
449 return x.addr_spec
450 else:
451 return quote_string(x.local_part) + x.addr_spec
452 else:
453 return '<>'
454
455
456class ObsRoute(TokenList):

Callers

nothing calls this directly

Calls 1

quote_stringFunction · 0.85

Tested by

no test coverage detected