MCPcopy Index your code
hub / github.com/RustPython/RustPython / utf_7_decode

Function utf_7_decode

Lib/_pycodecs.py:133–137  ·  view source on GitHub ↗

None

(data, errors="strict", final=False)

Source from the content-addressed store, hash-verified

131
132
133def utf_7_decode(data, errors="strict", final=False):
134 """None"""
135 res, consumed = PyUnicode_DecodeUTF7(data, len(data), errors, final)
136 res = "".join(res)
137 return res, consumed
138
139
140def unicode_escape_encode(obj, errors="strict"):

Callers

nothing calls this directly

Calls 3

PyUnicode_DecodeUTF7Function · 0.85
lenFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected