Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ quote_string
Function
quote_string
Lib/email/_header_value_parser.py:104–106 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
102
103
104
def
quote_string(value):
105
escaped = make_quoted_pairs(value)
106
return
f
'"{escaped}"'
107
108
109
# Match a RFC 2047 word, looks like =?utf-8?q?someword?=
Callers
6
__str__
Method · 0.85
addr_spec
Method · 0.85
addr_spec
Method · 0.85
value
Method · 0.85
__str__
Method · 0.85
_fold_mime_parameters
Function · 0.85
Calls
1
make_quoted_pairs
Function · 0.85
Tested by
no test coverage detected