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

Function _fix_eols

tools/python-3.11.9-amd64/Lib/smtplib.py:179–180  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

177 return re.sub(br'(?m)^\.', b'..', bindata)
178
179def _fix_eols(data):
180 return re.sub(r'(?:\r\n|\n|\r(?!\n))', CRLF, data)
181
182try:
183 import ssl

Callers 2

dataMethod · 0.85
sendmailMethod · 0.85

Calls 1

subMethod · 0.45

Tested by

no test coverage detected