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

Function PyUnicode_EncodeLatin1

Lib/_pycodecs.py:1451–1453  ·  view source on GitHub ↗
(p, size, errors)

Source from the content-addressed store, hash-verified

1449
1450
1451def PyUnicode_EncodeLatin1(p, size, errors):
1452 res = unicode_encode_ucs1(p, size, errors, 256)
1453 return res
1454
1455
1456hexdigits = [ord(hex(i)[-1]) for i in range(16)] + [

Callers 2

latin_1_encodeFunction · 0.85
PyUnicode_EncodeCharmapFunction · 0.85

Calls 1

unicode_encode_ucs1Function · 0.85

Tested by

no test coverage detected