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

Function normal_body

Lib/email/contentmanager.py:151–151  ·  view source on GitHub ↗
(lines)

Source from the content-addressed store, hash-verified

149 linesep = policy.linesep.encode('ascii')
150 def embedded_body(lines): return linesep.join(lines) + linesep
151 def normal_body(lines): return b'\n'.join(lines) + b'\n'
152 if cte is None:
153 # Use heuristics to decide on the "best" encoding.
154 if max(map(len, lines), default=0) <= maxlen:

Callers 1

_encode_textFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected