summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-03-10 00:42:49 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-03-10 00:42:49 (GMT)
commit2177be2c3af438e6abab5832bd8f0e81411f9f47 (patch)
tree47901ff26e474bf9f2b471fe9ef8874b74ea8f1f
parent0cf177205c9ca8b5a8845aad2f30d37e9e2e4dd3 (diff)
downloadcpython-2177be2c3af438e6abab5832bd8f0e81411f9f47.zip
cpython-2177be2c3af438e6abab5832bd8f0e81411f9f47.tar.gz
cpython-2177be2c3af438e6abab5832bd8f0e81411f9f47.tar.bz2
whatsnew: auidioop.byteswap (#16685).
-rw-r--r--Doc/library/audioop.rst2
-rw-r--r--Doc/whatsnew/3.4.rst5
2 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/audioop.rst b/Doc/library/audioop.rst
index faf9916..ce127aa 100644
--- a/Doc/library/audioop.rst
+++ b/Doc/library/audioop.rst
@@ -80,7 +80,7 @@ The module defines the following variables and functions:
"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 --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index 971afc4..cadb2ae 100644
--- 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.