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

Method __str__

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

Source from the content-addressed store, hash-verified

275 token_type = 'comment'
276
277 def __str__(self):
278 return ''.join(sum([
279 ["("],
280 [self.quote(x) for x in self],
281 [")"],
282 ], []))
283
284 def quote(self, value):
285 if value.token_type == 'comment':

Callers

nothing calls this directly

Calls 3

quoteMethod · 0.95
sumFunction · 0.50
joinMethod · 0.45

Tested by

no test coverage detected