MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / decodestring

Function decodestring

tools/python-3.11.9-amd64/Lib/quopri.py:160–167  ·  view source on GitHub ↗
(s, header=False)

Source from the content-addressed store, hash-verified

158 output.write(new)
159
160def decodestring(s, header=False):
161 if a2b_qp is not None:
162 return a2b_qp(s, header=header)
163 from io import BytesIO
164 infp = BytesIO(s)
165 outfp = BytesIO()
166 decode(infp, outfp, header=header)
167 return outfp.getvalue()
168
169
170

Callers

nothing calls this directly

Calls 3

getvalueMethod · 0.95
BytesIOClass · 0.90
decodeFunction · 0.70

Tested by

no test coverage detected