]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-139707: Specify `winreg`, `msvcrt` and `winsound` module availability in...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 10 Nov 2025 16:40:46 +0000 (17:40 +0100)
committerGitHub <noreply@github.com>
Mon, 10 Nov 2025 16:40:46 +0000 (17:40 +0100)
(cherry picked from commit 13fa313bebed71d8bc64f1cfdaf4b2f1ddd3ce5f)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Doc/library/msvcrt.rst
Doc/library/winreg.rst
Doc/library/winsound.rst

index 327cc3602b1a773675ca35dcaf789ac7a2285a5f..a2c5e375d2cc4fda47d312ae13bfbed6c1d6c945 100644 (file)
@@ -22,6 +22,8 @@ api. The normal API deals only with ASCII characters and is of limited use
 for internationalized applications. The wide char API should be used where
 ever possible.
 
+.. availability:: Windows.
+
 .. versionchanged:: 3.3
    Operations in this module now raise :exc:`OSError` where :exc:`IOError`
    was raised.
index 52c6c1a82821ba7dbf7bec782f885316213a2378..6d1e8ecfc1741d025e4e451abc16c810d8a913b0 100644 (file)
@@ -14,6 +14,8 @@ integer as the registry handle, a :ref:`handle object <handle-object>` is used
 to ensure that the handles are closed correctly, even if the programmer neglects
 to explicitly close them.
 
+.. availability:: Windows.
+
 .. _exception-changed:
 
 .. versionchanged:: 3.3
index 925984c3cdb0cb3dec8e2e6b3c5f4cdbda4cfb7d..93c0c025982076b54cefdb2f89f09a3f22cd12b8 100644 (file)
@@ -13,6 +13,8 @@
 The :mod:`winsound` module provides access to the basic sound-playing machinery
 provided by Windows platforms.  It includes functions and several constants.
 
+.. availability:: Windows.
+
 
 .. function:: Beep(frequency, duration)