Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustPython/RustPython
/ _qencode
Function
_qencode
Lib/email/encoders.py:19–22 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
17
18
19
def
_qencode(s):
20
enc = _encodestring(s, quotetabs=True)
21
# Must encode spaces, which quopri.encodestring() doesn't do
22
return
enc.replace(b
' '
, b
'=20'
)
23
24
25
def
encode_base64(msg):
Callers
1
encode_quopri
Function · 0.85
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected