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

Method __str__

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

Source from the content-addressed store, hash-verified

810 yield name, value
811
812 def __str__(self):
813 params = []
814 for name, value in self.params:
815 if value:
816 params.append('{}={}'.format(name, quote_string(value)))
817 else:
818 params.append(name)
819 params = '; '.join(params)
820 return ' ' + params if params else ''
821
822
823class ParameterizedHeaderValue(TokenList):

Callers

nothing calls this directly

Calls 4

quote_stringFunction · 0.85
appendMethod · 0.45
formatMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected