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

Function normal_body

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

Source from the content-addressed store, hash-verified

136 linesep = policy.linesep.encode('ascii')
137 def embedded_body(lines): return linesep.join(lines) + linesep
138 def normal_body(lines): return b'\n'.join(lines) + b'\n'
139 if cte is None:
140 # Use heuristics to decide on the "best" encoding.
141 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…