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

Function SPECIAL

Lib/_pycodecs.py:798–804  ·  view source on GitHub ↗
(c, encodeO, encodeWS)

Source from the content-addressed store, hash-verified

796
797
798def SPECIAL(c, encodeO, encodeWS):
799 c = ord(c)
800 return (
801 (c > 127 or utf7_special[c] == 1)
802 or (encodeWS and (utf7_special[(c)] == 2))
803 or (encodeO and (utf7_special[(c)] == 3))
804 )
805
806
807def B64(n):

Callers

nothing calls this directly

Calls 1

ordFunction · 0.85

Tested by

no test coverage detected