bytes.fromhex() accepts ASCII bytes and bytes-like objects as input since 3.14
*ignorechars* should be a :term:`bytes-like object` containing characters
to ignore from the input.
- Similar functionality (accepting only text string arguments, but more
- liberal towards whitespace) is also accessible using the
- :meth:`bytes.fromhex` class method.
+ Similar functionality (but more liberal towards whitespace) is also accessible
+ using the :meth:`bytes.fromhex` class method.
.. versionchanged:: 3.15
Added the *ignorechars* parameter.