diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-09-16 16:18:55 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-09-16 16:18:55 (GMT) |
commit | b1a3d9ae561b7b5a0bbbb47fad2f98448f1c7419 (patch) | |
tree | 1119c067c31a60c43423a697ba801fc3a5840e40 /Doc | |
parent | e41b4712fe884551aef7dd3b8852907dcc310a29 (diff) | |
parent | 8e3b04c70bbe540a8bda49d5fa7797e4f20b78e2 (diff) | |
download | cpython-b1a3d9ae561b7b5a0bbbb47fad2f98448f1c7419.zip cpython-b1a3d9ae561b7b5a0bbbb47fad2f98448f1c7419.tar.gz cpython-b1a3d9ae561b7b5a0bbbb47fad2f98448f1c7419.tar.bz2 |
Merge 3.5
Diffstat (limited to 'Doc')
-rw-r--r-- | 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 index edd6f60..8c85b14 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 <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`.) |