summaryrefslogtreecommitdiffstats
path: root/Doc/library/wave.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-16 12:01:31 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-16 12:01:31 (GMT)
commit452bab4acf57c8dd156b794fe0d1672e1ab29b43 (patch)
treed167584d1dd05c4ca5303c4ff91c2dfa927a5e06 /Doc/library/wave.rst
parent7714ebbe0e7556bbfa6b768e434042b55474939c (diff)
downloadcpython-452bab4acf57c8dd156b794fe0d1672e1ab29b43.zip
cpython-452bab4acf57c8dd156b794fe0d1672e1ab29b43.tar.gz
cpython-452bab4acf57c8dd156b794fe0d1672e1ab29b43.tar.bz2
Issue #16685: Added support for writing any bytes-like objects in the aifc,
sunau, and wave modules.
Diffstat (limited to 'Doc/library/wave.rst')
-rw-r--r--Doc/library/wave.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/wave.rst b/Doc/library/wave.rst
index 189f21a..c32e1fc 100644
--- a/Doc/library/wave.rst
+++ b/Doc/library/wave.rst
@@ -208,12 +208,18 @@ 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.
+
.. method:: Wave_write.writeframes(data)
Write audio frames and make sure *nframes* is correct. Can raise an
exception if a file is not seekable.
+ .. versionchanged:: 3.4
+ Any :term:`bytes-like object`\ s are now accepted.
+
Note that it is invalid to set any parameters after calling :meth:`writeframes`
or :meth:`writeframesraw`, and any attempt to do so will raise