Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
177
def
_fix_eols(data):
178
return
re.sub(r
'(?:\r\n|\n|\r(?!\n))'
, CRLF, data)
179
180
181
try
:
Callers
2
data
Method · 0.85
sendmail
Method · 0.85
Calls
1
sub
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…