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

Function latin_1_decode

Lib/_pycodecs.py:147–151  ·  view source on GitHub ↗

None

(data, errors="strict")

Source from the content-addressed store, hash-verified

145
146
147def latin_1_decode(data, errors="strict"):
148 """None"""
149 res = PyUnicode_DecodeLatin1(data, len(data), errors)
150 res = "".join(res)
151 return res, len(data)
152
153
154def utf_16_decode(data, errors="strict", final=False):

Callers

nothing calls this directly

Calls 3

PyUnicode_DecodeLatin1Function · 0.85
lenFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected