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

Function charmap_decode

Lib/_pycodecs.py:393–397  ·  view source on GitHub ↗

None

(data, errors="strict", mapping=None)

Source from the content-addressed store, hash-verified

391
392
393def charmap_decode(data, errors="strict", mapping=None):
394 """None"""
395 res = PyUnicode_DecodeCharmap(data, len(data), mapping, errors)
396 res = "".join(res)
397 return res, len(data)
398
399
400def utf_7_encode(obj, errors="strict"):

Callers

nothing calls this directly

Calls 3

PyUnicode_DecodeCharmapFunction · 0.85
lenFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected