[Python-checkins] cpython: whatsnew: sunau/aifc/wave writeframes[raw] accept any bytes-like (#8311)
r.david.murray
python-checkins at python.org
Sat Mar 8 18:54:21 CET 2014
http://hg.python.org/cpython/rev/b72615222c98
changeset: 89510:b72615222c98
user: R David Murray <rdmurray at bitdance.com>
date: Sat Mar 08 11:46:05 2014 -0500
summary:
whatsnew: sunau/aifc/wave writeframes[raw] accept any bytes-like (#8311)
files:
Doc/library/aifc.rst | 4 ++--
Doc/library/sunau.rst | 4 ++--
Doc/library/wave.rst | 4 ++--
Doc/whatsnew/3.4.rst | 14 +++++++++++++-
4 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/Doc/library/aifc.rst b/Doc/library/aifc.rst
--- a/Doc/library/aifc.rst
+++ b/Doc/library/aifc.rst
@@ -226,7 +226,7 @@
file parameters have been set.
.. versionchanged:: 3.4
- Any :term:`bytes-like object`\ s are now accepted.
+ Any :term:`bytes-like object` is now accepted.
.. method:: aifc.writeframesraw(data)
@@ -235,7 +235,7 @@
updated.
.. versionchanged:: 3.4
- Any :term:`bytes-like object`\ s are now accepted.
+ Any :term:`bytes-like object` is now accepted.
.. method:: aifc.close()
diff --git a/Doc/library/sunau.rst b/Doc/library/sunau.rst
--- a/Doc/library/sunau.rst
+++ b/Doc/library/sunau.rst
@@ -251,7 +251,7 @@
Write audio frames, without correcting *nframes*.
.. versionchanged:: 3.4
- Any :term:`bytes-like object`\ s are now accepted.
+ Any :term:`bytes-like object` is now accepted.
.. method:: AU_write.writeframes(data)
@@ -259,7 +259,7 @@
Write audio frames and make sure *nframes* is correct.
.. versionchanged:: 3.4
- Any :term:`bytes-like object`\ s are now accepted.
+ Any :term:`bytes-like object` is now accepted.
.. method:: AU_write.close()
diff --git a/Doc/library/wave.rst b/Doc/library/wave.rst
--- a/Doc/library/wave.rst
+++ b/Doc/library/wave.rst
@@ -226,7 +226,7 @@
Write audio frames, without correcting *nframes*.
.. versionchanged:: 3.4
- Any :term:`bytes-like object`\ s are now accepted.
+ Any :term:`bytes-like object` is now accepted.
.. method:: Wave_write.writeframes(data)
@@ -237,7 +237,7 @@
previously set value for *nframes*.
.. versionchanged:: 3.4
- Any :term:`bytes-like object`\ s are now accepted.
+ Any :term:`bytes-like object` is now accepted.
Note that it is invalid to set any parameters after calling :meth:`writeframes`
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -540,7 +540,7 @@
aifc
----
-The :meth:`~aifc.getparams` method now returns a namedtuple rather than a
+The :meth:`~aifc.aifc.getparams` method now returns a namedtuple rather than a
plain tuple. (Contributed by Claudiu Popa in :issue:`17818`.)
:func:`aifc.open` now supports the context manager protocol: when used in a
@@ -548,6 +548,10 @@
object will be called automatically at the end of the block. (Contributed by
Serhiy Storchacha in :issue:`16486`.)
+The :meth:`~aifc.aifc.writeframesraw` and :meth:`~aifc.aifc.writeframes`
+methods now accept any :term:`bytes-like object`. (Contributed by Serhiy
+Storchaka in :issue:`8311`.)
+
argparse
--------
@@ -1300,6 +1304,10 @@
support for writing 24 sample using the module. (Contributed by
Serhiy Storchaka in :issue:`19261`.)
+The :meth:`~sunau.AU_write.writeframesraw` and
+:meth:`~sunau.AU_write.writeframes` methods now accept any :term:`bytes-like
+object`. (Contributed by Serhiy Storchaka in :issue:`8311`.)
+
sys
---
@@ -1443,6 +1451,10 @@
<wave-write-objects>`. (Contributed by David Jones, Guilherme Polo, and Serhiy
Storchaka in :issue:`5202`.)
+The :meth:`~wave.Wave_write.writeframesraw` and
+:meth:`~wave.Wave_write.writeframes` methods now accept any :term:`bytes-like
+object`. (Contributed by Serhiy Storchaka in :issue:`8311`.)
+
weakref
-------
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list