Skip to content

Commit c195599

Browse files
miss-islingtonbdietermStanFromIreland
authored
[3.15] gh-60729: Add missing version{added,changed} directives to the wave docs (GH-159644) (#160079)
(cherry picked from commit 69d0f96) Co-authored-by: bdieterm <119257544+bdieterm@users.noreply.github.com> Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent 601707d commit c195599

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎Doc/library/wave.rst‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,15 @@ The :mod:`!wave` module defines the following function and exception:
7474

7575
Format code for IEEE floating-point audio.
7676

77+
.. versionadded:: 3.15
78+
7779

7880
.. data:: WAVE_FORMAT_EXTENSIBLE
7981

8082
Format code for WAVE extensible headers.
8183

84+
.. versionadded:: 3.12
85+
8286

8387
.. _wave-read-objects:
8488

@@ -281,6 +285,8 @@ Wave_write Objects
281285
When setting :data:`WAVE_FORMAT_IEEE_FLOAT`, the sample width must be
282286
4 or 8 bytes.
283287

288+
.. versionadded:: 3.15
289+
284290

285291
.. method:: getformat()
286292

@@ -300,6 +306,9 @@ Wave_write Objects
300306

301307
For ``format=WAVE_FORMAT_IEEE_FLOAT``, *sampwidth* must be 4 or 8.
302308

309+
.. versionchanged:: 3.15
310+
Added optional item *format* to the *tuple*.
311+
303312

304313
.. method:: getparams()
305314

0 commit comments

Comments
 (0)