cpython: c375697f062e (original) (raw)
Mercurial > cpython
changeset 89549:c375697f062e
whatsnew: auidioop.byteswap (#16685). [#16685]
R David Murray rdmurray@bitdance.com | |
---|---|
date | Sun, 09 Mar 2014 20:42:49 -0400 |
parents | 39b2679ec4e5 |
children | 8bef27cdcd0b |
files | Doc/library/audioop.rst Doc/whatsnew/3.4.rst |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-)[+] [-] Doc/library/audioop.rst 2 Doc/whatsnew/3.4.rst 5 |
line wrap: on
line diff
--- a/Doc/library/audioop.rst +++ b/Doc/library/audioop.rst @@ -80,7 +80,7 @@ The module defines the following variabl "Byteswap" all samples in a fragment and returns the modified fragment. Converts big-endian samples to little-endian and vice versa.
.. function:: cross(fragment, width)
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -570,8 +570,9 @@ audioop
: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.