From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 31 May 2026 07:52:55 +0000 (+0200) Subject: [3.15] gh-150524: Remove outdated note in binascii.a2b_hex() documentation (GH-150525... X-Git-Tag: v3.15.0b2~34 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=3084bdc54b8b1cb8ff0eb30dddf61239af2260ca;p=thirdparty%2FPython%2Fcpython.git [3.15] gh-150524: Remove outdated note in binascii.a2b_hex() documentation (GH-150525) (GH-150627) bytes.fromhex() accepts ASCII bytes and bytes-like objects as input since 3.14 (cherry picked from commit af10734907d2d7df4c4d754174804aec7c5d6a72) Co-authored-by: Joshix-1 <57299889+Joshix-1@users.noreply.github.com> --- diff --git a/Doc/library/binascii.rst b/Doc/library/binascii.rst index 60afe9261d51..ceb80a35a1a7 100644 --- a/Doc/library/binascii.rst +++ b/Doc/library/binascii.rst @@ -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.