Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
179
def
_fix_eols(data):
180
return
re.sub(r
'(?:\r\n|\n|\r(?!\n))'
, CRLF, data)
181
182
try
:
183
import
ssl
Callers
2
data
Method · 0.85
sendmail
Method · 0.85
Calls
1
sub
Method · 0.45
Tested by
no test coverage detected