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

Class Value

Lib/email/_header_value_parser.py:729–741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

727
728
729class Value(TokenList):
730
731 token_type = 'value'
732
733 @property
734 def stripped_value(self):
735 token = self[0]
736 if token.token_type == 'cfws':
737 token = self[1]
738 if token.token_type.endswith(
739 ('quoted-string', 'attribute', 'extended-attribute')):
740 return token.stripped_value
741 return self.value
742
743
744class MimeParameters(TokenList):

Callers 2

get_valueFunction · 0.70
get_parameterFunction · 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…