Skip to content

Commit

Permalink
whatsnew/3.5: Reword bytes*.hex message
Browse files Browse the repository at this point in the history
  • Loading branch information
1st1 committed Sep 16, 2015
1 parent 60208a1 commit 8e3b04c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Doc/whatsnew/3.5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ New built-in features:
* ``bytes % args``, ``bytearray % args``: :ref:`PEP 461 <whatsnew-pep-461>` --
Adding ``%`` formatting to bytes and bytearray.

* ``b'\xf0\x9f\x90\x8d'.hex()``, ``bytearray(b'\xf0\x9f\x90\x8d').hex()``,
``memoryview(b'\xf0\x9f\x90\x8d').hex()``: :issue:`9951` - A ``hex`` method
has been added to bytes, bytearray, and memoryview.
* New :meth:`bytes.hex`, :meth:`bytearray.hex` and :meth:`memoryview.hex`
methods. (Contributed by Arnon Yaari in :issue:`9951`.)

* :class:`memoryview` now supports tuple indexing (including multi-dimensional).
(Contributed by Antoine Pitrou in :issue:`23632`.)
Expand Down

0 comments on commit 8e3b04c

Please sign in to comment.