From 23520a17548fa6cc654940974a5ac8b654118dc5 Mon Sep 17 00:00:00 2001 From: bdieterm <119257544+bdieterm@users.noreply.github.com> Date: Wed, 21 Oct 2026 19:50:20 +0200 Subject: [PATCH] gh-60729: Add missing `version{added,changed}` directives to the `wave` docs (GH-159644) (cherry picked from commit 69d0f9688af48403f6eaea20ef30f85139ed8196) Co-authored-by: bdieterm <119257544+bdieterm@users.noreply.github.com> Co-authored-by: Stan Ulbrych --- Doc/library/wave.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Doc/library/wave.rst b/Doc/library/wave.rst index c85e2d7a150a3e6..d2ed16bd284cdb6 100644 --- a/Doc/library/wave.rst +++ b/Doc/library/wave.rst @@ -74,11 +74,15 @@ The :mod:`!wave` module defines the following function and exception: Format code for IEEE floating-point audio. + .. versionadded:: 3.15 + .. data:: WAVE_FORMAT_EXTENSIBLE Format code for WAVE extensible headers. + .. versionadded:: 3.12 + .. _wave-read-objects: @@ -281,6 +285,8 @@ Wave_write Objects When setting :data:`WAVE_FORMAT_IEEE_FLOAT`, the sample width must be 4 or 8 bytes. + .. versionadded:: 3.15 + .. method:: getformat() @@ -300,6 +306,9 @@ Wave_write Objects For ``format=WAVE_FORMAT_IEEE_FLOAT``, *sampwidth* must be 4 or 8. + .. versionchanged:: 3.15 + Added optional item *format* to the *tuple*. + .. method:: getparams()