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

Method _encode

Lib/email/generator.py:147–149  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

145 return StringIO()
146
147 def _encode(self, s):
148 # BytesGenerator overrides this to encode strings to bytes.
149 return s
150
151 def _write_lines(self, lines):
152 # We have to transform the line endings.

Callers 3

flattenMethod · 0.95
_handle_messageMethod · 0.95
decode_headerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected