]> granicus.if.org Git - python/commitdiff
whatsnew: sunau/aifc/wave writeframes[raw] accept any bytes-like (#8311)
authorR David Murray <rdmurray@bitdance.com>
Sat, 8 Mar 2014 16:46:05 +0000 (11:46 -0500)
committerR David Murray <rdmurray@bitdance.com>
Sat, 8 Mar 2014 16:46:05 +0000 (11:46 -0500)
Doc/library/aifc.rst
Doc/library/sunau.rst
Doc/library/wave.rst
Doc/whatsnew/3.4.rst

index caecfbc658882f5f42856c5df3f41e14fde1c385..6fbcf286cf1fc06a87734d1a180ab1820779828d 100644 (file)
@@ -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()
index 15c06b561abcfbeeb409cc425b069fddae517288..a94ae08d831fbc52328cdab4d5d0d3f5aad996e8 100644 (file)
@@ -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()
index b514ff3e0952f1ff20dc9111ed4d144338724fb4..ab64978cfde38db44eab650f4ebff9ece16a2b2a 100644 (file)
@@ -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`
index 706e5efc62d1d751b9c87b9d3bca4361a6853e39..3e803a3d9a31f7fee44e7e24c982d9f569b2d55f 100644 (file)
@@ -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
 -------