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

Function _is_hex_digit

Lib/_pycodecs.py:308–313  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

306
307
308def _is_hex_digit(b):
309 return (
310 0x30 <= b <= 0x39 # 0-9
311 or 0x41 <= b <= 0x46 # A-F
312 or 0x61 <= b <= 0x66
313 ) # a-f
314
315
316def escape_decode(data, errors="strict"):

Callers 1

escape_decodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected