(original) (raw)
changeset: 89549:c375697f062e user: R David Murray rdmurray@bitdance.com date: Sun Mar 09 20:42:49 2014 -0400 files: Doc/library/audioop.rst Doc/whatsnew/3.4.rst description: whatsnew: auidioop.byteswap (#16685). diff -r 39b2679ec4e5 -r c375697f062e Doc/library/audioop.rst --- a/Doc/library/audioop.rst Sun Mar 09 20:39:52 2014 -0400 +++ b/Doc/library/audioop.rst Sun Mar 09 20:42:49 2014 -0400 @@ -80,7 +80,7 @@ "Byteswap" all samples in a fragment and returns the modified fragment. Converts big-endian samples to little-endian and vice versa. - .. versionadded: 3.4 + .. versionadded:: 3.4 .. function:: cross(fragment, width) diff -r 39b2679ec4e5 -r c375697f062e Doc/whatsnew/3.4.rst --- a/Doc/whatsnew/3.4.rst Sun Mar 09 20:39:52 2014 -0400 +++ b/Doc/whatsnew/3.4.rst Sun Mar 09 20:42:49 2014 -0400 @@ -570,8 +570,9 @@ :mod:`audioop` now supports 24-bit samples. (Contributed by Serhiy Storchaka in :issue:`12866`.) -Added the :func:`~audioop.byteswap` function to convert big-endian samples -to little-endian and vice versa (:issue:`19641`). +New :func:`~audioop.byteswap` function converts big-endian samples to +little-endian and vice versa (Contributed by Serhiy Storchaka in +:issue:`19641`). All :mod:`audioop` functions now accept any :term:`bytes-like object`. Strings are not accepted: they didn't work before, now they raise an error right away. /rdmurray@bitdance.com