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

Method __str__

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

Source from the content-addressed store, hash-verified

282 token_type = 'comment'
283
284 def __str__(self):
285 return ''.join(sum([
286 ["("],
287 [self.quote(x) for x in self],
288 [")"],
289 ], []))
290
291 def quote(self, value):
292 if value.token_type == 'comment':

Callers

nothing calls this directly

Calls 2

quoteMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected