https://github.com/python/cpython/commit/3d80ead920830d2a39e9440240fabb33e20eab8d
commit: 3d80ead920830d2a39e9440240fabb33e20eab8d
branch: 3.14
author: Joshix-1 <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2026-05-31T10:53:24+03:00
summary:

[3.14] gh-150524: Remove outdated note in binascii.a2b_hex() documentation 
(GH-150525) (GH-150632)

bytes.fromhex() accepts ASCII bytes and bytes-like objects as input since 3.14
(cherry picked from commit af10734907d2d7df4c4d754174804aec7c5d6a72)

files:
M Doc/library/binascii.rst

diff --git a/Doc/library/binascii.rst b/Doc/library/binascii.rst
index 91b4333201646a..4cd390d27e44e6 100644
--- a/Doc/library/binascii.rst
+++ b/Doc/library/binascii.rst
@@ -158,9 +158,8 @@ The :mod:`!binascii` module defines the following functions:
    of hexadecimal digits (which can be upper or lower case), otherwise an
    :exc:`Error` exception is raised.
 
-   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.
 
 .. exception:: Error
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to