diff options
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/aifc.rst | 6 | ||||
-rw-r--r-- | Doc/library/sunau.rst | 6 | ||||
-rw-r--r-- | Doc/library/wave.rst | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/Doc/library/aifc.rst b/Doc/library/aifc.rst index 48c3ea9..9ffb5a3 100644 --- a/Doc/library/aifc.rst +++ b/Doc/library/aifc.rst @@ -225,12 +225,18 @@ number of frames must be filled in. Write data to the output file. This method can only be called after the audio file parameters have been set. + .. versionchanged:: 3.4 + Any :term:`bytes-like object`\ s are now accepted. + .. method:: aifc.writeframesraw(data) Like :meth:`writeframes`, except that the header of the audio file is not updated. + .. versionchanged:: 3.4 + Any :term:`bytes-like object`\ s are now accepted. + .. method:: aifc.close() diff --git a/Doc/library/sunau.rst b/Doc/library/sunau.rst index 6455ed9..15c06b5 100644 --- a/Doc/library/sunau.rst +++ b/Doc/library/sunau.rst @@ -250,11 +250,17 @@ 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. + .. method:: AU_write.writeframes(data) Write audio frames and make sure *nframes* is correct. + .. versionchanged:: 3.4 + Any :term:`bytes-like object`\ s are now accepted. + .. method:: AU_write.close() 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 |