summaryrefslogtreecommitdiff
path: root/py/runtime.c
diff options
context:
space:
mode:
authorGlenn Moloney <glenn.moloney@gmail.com>2024-08-13 08:38:20 +1000
committerGlenn Moloney <glenn.moloney@gmail.com>2024-08-19 14:18:34 +1000
commit6367099f8365c22b42474818ce5fdb9b35591ade (patch)
tree9784e255a91ef704201d149194753938598cffa3 /py/runtime.c
parente9814e987bcc816fb67e38748a5afce466c45606 (diff)
py/objstr: Skip whitespace in bytes.fromhex().
Skip whitespace characters between pairs of hex numbers. This makes `bytes.fromhex()` compatible with cpython. Includes simple test in `tests/basic/builtin_str_hex.py`. Signed-off-by: Glenn Moloney <glenn.moloney@gmail.com>
Diffstat (limited to 'py/runtime.c')
0 files changed, 0 insertions, 0 deletions