Skip to content

Commit 1f43c81

Browse files
committed
gh-150524: Fix note in binascii.a2b_hex documentation
`bytes.fromhex` accepts ASCII bytes and bytes-like objects as input since 3.14
1 parent d8ff4f8 commit 1f43c81

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Doc/library/binascii.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,8 @@ The :mod:`!binascii` module defines the following functions:
367367
*ignorechars* should be a :term:`bytes-like object` containing characters
368368
to ignore from the input.
369369

370-
Similar functionality (accepting only text string arguments, but more
371-
liberal towards whitespace) is also accessible using the
372-
:meth:`bytes.fromhex` class method.
370+
Similar functionality (more liberal towards whitespace) is also accessible
371+
using the :meth:`bytes.fromhex` class method.
373372

374373
.. versionchanged:: 3.15
375374
Added the *ignorechars* parameter.

0 commit comments

Comments
 (0)