From d1abc59d55372a4a7b63b4f1ca29fb4d2c71af17 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Fri, 23 Sep 2022 13:20:59 +0100 Subject: [PATCH] gh-77171: Document that wave only supports simple PCM files --- Doc/library/wave.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/wave.rst b/Doc/library/wave.rst index f63e0d3dce19c6..d50aabd5b9c4d9 100644 --- a/Doc/library/wave.rst +++ b/Doc/library/wave.rst @@ -12,7 +12,8 @@ -------------- The :mod:`wave` module provides a convenient interface to the WAV sound format. -It does not support compression/decompression, but it does support mono/stereo. +Only files using ``WAVE_FORMAT_PCM`` are supported. Note that this does not +include files using ``WAVE_FORMAT_EXTENSIBLE`` even if the subformat is PCM. The :mod:`wave` module defines the following function and exception: