[Python-checkins] cpython (3.5): whatsnew/3.5: Reword bytes*.hex message
yury.selivanov
python-checkins at python.org
Wed Sep 16 18:18:56 CEST 2015
https://hg.python.org/cpython/rev/ea16232f0d50
changeset: 98020:ea16232f0d50
branch: 3.5
parent: 98015:d371ce905395
user: Yury Selivanov <yselivanov at sprymix.com>
date: Wed Sep 16 12:18:29 2015 -0400
summary:
whatsnew/3.5: Reword bytes*.hex message
files:
Doc/whatsnew/3.5.rst | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -76,9 +76,8 @@
* ``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`.)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list