Skip to content

Commit 8b6da42

Browse files
committed
Update documentation
1 parent c0968d9 commit 8b6da42

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Doc/library/stdtypes.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2738,6 +2738,11 @@ data and are closely related to string objects in a variety of other ways.
27382738
:meth:`bytes.fromhex` now skips all ASCII whitespace in the string,
27392739
not just spaces.
27402740

2741+
.. versionchanged:: 3.14
2742+
:meth:`bytes.fromhex` now accepts an ASCII :class:`bytes` object as
2743+
input.
2744+
2745+
27412746
A reverse conversion function exists to transform a bytes object into its
27422747
hexadecimal representation.
27432748

@@ -2823,6 +2828,10 @@ objects.
28232828
:meth:`bytearray.fromhex` now skips all ASCII whitespace in the string,
28242829
not just spaces.
28252830

2831+
.. versionchanged:: 3.14
2832+
:meth:`bytearray.fromhex` now accepts an ASCII :class:`bytes` object as
2833+
input.
2834+
28262835
A reverse conversion function exists to transform a bytearray object into its
28272836
hexadecimal representation.
28282837

0 commit comments

Comments
 (0)