gh-77171: Fixes SubFormat check to compare the entire value. Add docs (GH-97509)

This commit is contained in:
Steve Dower 2022-09-23 16:08:21 +01:00 committed by GitHub
parent f1cca801f5
commit a4ac14faa5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 6 deletions

View file

@ -12,7 +12,12 @@
--------------
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 PCM encoded wave files are supported.
.. versionchanged:: 3.12
Support for ``WAVE_FORMAT_EXTENSIBLE`` headers was added, provided that the
extended format is ``KSDATAFORMAT_SUBTYPE_PCM``.
The :mod:`wave` module defines the following function and exception: