diff options
| author | Glenn Moloney <glenn.moloney@gmail.com> | 2024-08-13 08:38:20 +1000 |
|---|---|---|
| committer | Glenn Moloney <glenn.moloney@gmail.com> | 2024-08-19 14:18:34 +1000 |
| commit | 6367099f8365c22b42474818ce5fdb9b35591ade (patch) | |
| tree | 9784e255a91ef704201d149194753938598cffa3 /py/objset.c | |
| parent | e9814e987bcc816fb67e38748a5afce466c45606 (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/objset.c')
0 files changed, 0 insertions, 0 deletions
