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

Function _IS_BASE64

Lib/_pycodecs.py:842–849  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

840
841
842def _IS_BASE64(ch):
843 return (
844 (ord("A") <= ch <= ord("Z"))
845 or (ord("a") <= ch <= ord("z"))
846 or (ord("0") <= ch <= ord("9"))
847 or ch == ord("+")
848 or ch == ord("/")
849 )
850
851
852def _FROM_BASE64(ch):

Callers 1

PyUnicode_DecodeUTF7Function · 0.85

Calls 1

ordFunction · 0.85

Tested by

no test coverage detected