MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / normal_body

Function normal_body

tools/python-3.11.9-amd64/Lib/email/contentmanager.py:148–148  ·  view source on GitHub ↗
(lines)

Source from the content-addressed store, hash-verified

146 linesep = policy.linesep.encode('ascii')
147 def embedded_body(lines): return linesep.join(lines) + linesep
148 def normal_body(lines): return b'\n'.join(lines) + b'\n'
149 if cte is None:
150 # Use heuristics to decide on the "best" encoding.
151 if max((len(x) for x in lines), default=0) <= policy.max_line_length:

Callers 1

_encode_textFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected