summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-03-08 16:46:05 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-03-08 16:46:05 (GMT)
commitcbf479ae64818cde38e2e3d00f4c3ef26ca84e68 (patch)
tree82494a4d979209d1731c2d5f193a4abc65f0be18
parent5d6240e871dc33c18e77d02cc9f60d4003bd25d4 (diff)
downloadcpython-cbf479ae64818cde38e2e3d00f4c3ef26ca84e68.zip
cpython-cbf479ae64818cde38e2e3d00f4c3ef26ca84e68.tar.gz
cpython-cbf479ae64818cde38e2e3d00f4c3ef26ca84e68.tar.bz2
whatsnew: sunau/aifc/wave writeframes[raw] accept any bytes-like (#8311)
-rw-r--r--Doc/library/aifc.rst4
-rw-r--r--Doc/library/sunau.rst4
-rw-r--r--Doc/library/wave.rst4
-rw-r--r--Doc/whatsnew/3.4.rst14
4 files changed, 19 insertions, 7 deletions
diff --git a/Doc/library/aifc.rst b/Doc/library/aifc.rst
index caecfbc..6fbcf28 100644
--- a/Doc/library/aifc.rst
+++ b/Doc/library/aifc.rst
@@ -226,7 +226,7 @@ number of frames must be filled in.
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 @@ number of frames must be filled in.
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
index 15c06b5..a94ae08 100644
--- a/Doc/library/sunau.rst
+++ b/Doc/library/sunau.rst
@@ -251,7 +251,7 @@ AU_write objects, as returned by :func:`.open` above, have the following methods
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 @@ AU_write objects, as returned by :func:`.open` above, have the following methods
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
index b514ff3..ab64978 100644
--- a/Doc/library/wave.rst
+++ b/Doc/library/wave.rst
@@ -226,7 +226,7 @@ Wave_write objects, as returned by :func:`.open`, have the following methods:
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 @@ Wave_write objects, as returned by :func:`.open`, have the following methods:
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
index 706e5ef..3e803a3 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -540,7 +540,7 @@ Using ``ABC`` as a base class has essentially the same effect as specifying
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 @@ plain tuple. (Contributed by Claudiu Popa in :issue:`17818`.)
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 @@ in :issue:`18878`.)
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 @@ by Claudiu Popa in :issue:`17616`.)
<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
-------