Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
308
def
_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
316
def
escape_decode(data, errors=
"strict"
):
Callers
1
escape_decode
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected