File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Misc/NEWS.d/next/Core_and_Builtins Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2745,8 +2745,9 @@ data and are closely related to string objects in a variety of other ways.
27452745 not just spaces.
27462746
27472747 .. versionchanged :: next
2748- :meth: `bytes.fromhex ` now accepts an ASCII :class: `bytes ` object as
2749- input.
2748+ :meth: `bytes.fromhex ` now accepts ASCII :class: `bytes ` and
2749+ :class: `bytearray ` objects as input.
2750+
27502751
27512752
27522753 A reverse conversion function exists to transform a bytes object into its
@@ -2835,8 +2836,8 @@ objects.
28352836 not just spaces.
28362837
28372838 .. versionchanged :: next
2838- :meth: `bytearray.fromhex ` now accepts an ASCII :class: `bytes ` object as
2839- input.
2839+ :meth: `bytearray.fromhex ` now accepts ASCII :class: `bytes ` and
2840+ :class: ` bytearray ` objects as input.
28402841
28412842 A reverse conversion function exists to transform a bytearray object into its
28422843 hexadecimal representation.
Original file line number Diff line number Diff line change 11:meth: `bytes.fromhex ` and :meth: `bytearray.fromhex ` now accepts ASCII
2- :class: `bytes ` objects.
2+ :class: `bytes `/ :class: ` bytearray ` objects.
You can’t perform that action at this time.
0 commit comments