summaryrefslogtreecommitdiff
path: root/Doc/library/wave.rst
diff options
context:
space:
mode:
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 189f21a3e2..c32e1fcd85 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