mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
whatsnew: sunau/aifc/wave writeframes[raw] accept any bytes-like (#8311)
This commit is contained in:
parent
5d6240e871
commit
cbf479ae64
4 changed files with 19 additions and 7 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue