]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-150524: Remove outdated note in binascii.a2b_hex() documentation (GH-150525)
authorJoshix-1 <57299889+Joshix-1@users.noreply.github.com>
Sat, 30 May 2026 19:18:39 +0000 (21:18 +0200)
committerGitHub <noreply@github.com>
Sat, 30 May 2026 19:18:39 +0000 (19:18 +0000)
bytes.fromhex() accepts ASCII bytes and bytes-like objects as input since 3.14

Doc/library/binascii.rst

index 60afe9261d51facdb87ff77cd75d1acef1cd6bb3..ceb80a35a1a76bbf161170885159e52b641ab73e 100644 (file)
@@ -367,9 +367,8 @@ The :mod:`!binascii` module defines the following functions:
    *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.