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

Function _fix_eols

Lib/smtplib.py:177–178  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

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

Callers 2

dataMethod · 0.85
sendmailMethod · 0.85

Calls 1

subMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…