]> granicus.if.org Git - python/commitdiff
whatsnew/3.5: Reword bytes*.hex message
authorYury Selivanov <yselivanov@sprymix.com>
Wed, 16 Sep 2015 16:18:29 +0000 (12:18 -0400)
committerYury Selivanov <yselivanov@sprymix.com>
Wed, 16 Sep 2015 16:18:29 +0000 (12:18 -0400)
Doc/whatsnew/3.5.rst

index edd6f6050f573611718d2da3aade836af56bf54b..8c85b1498f4e63b22597ce260df290d53c8f470a 100644 (file)
@@ -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`.)