From 8e3b04c70bbe540a8bda49d5fa7797e4f20b78e2 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Wed, 16 Sep 2015 12:18:29 -0400 Subject: [PATCH] whatsnew/3.5: Reword bytes*.hex message --- Doc/whatsnew/3.5.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index edd6f6050f5..8c85b1498f4 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -76,9 +76,8 @@ New built-in features: * ``bytes % args``, ``bytearray % args``: :ref:`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`.)