]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add source links to documentation for Windows-specific modules (GH-130244)
authorDimma Don't <dimmadumb@protonmail.com>
Thu, 22 Jan 2026 21:30:13 +0000 (16:30 -0500)
committerGitHub <noreply@github.com>
Thu, 22 Jan 2026 21:30:13 +0000 (21:30 +0000)
Doc/library/msvcrt.rst
Doc/library/winreg.rst
Doc/library/winsound.rst

index a2c5e375d2cc4fda47d312ae13bfbed6c1d6c945..80f3ae4ee3f5c1e86b1e24d77be7c268cdc513ac 100644 (file)
@@ -7,6 +7,8 @@
 
 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
 
+**Source code:** :source:`PC/msvcrtmodule.c`
+
 --------------
 
 These functions provide access to some useful capabilities on Windows platforms.
index 89def6e2afe0881f4e71b971d74935704a31f412..d167c41ab72c34ba6d00a56b82b810e70ef8dab2 100644 (file)
@@ -7,6 +7,8 @@
 
 .. sectionauthor:: Mark Hammond <MarkH@ActiveState.com>
 
+**Source code:** :source:`PC/winreg.c`
+
 --------------
 
 These functions expose the Windows registry API to Python.  Instead of using an
@@ -25,7 +27,7 @@ to explicitly close them.
 .. _functions:
 
 Functions
-------------------
+---------
 
 This module offers the following functions:
 
@@ -554,7 +556,7 @@ This module offers the following functions:
 .. _constants:
 
 Constants
-------------------
+---------
 
 The following constants are defined for use in many :mod:`winreg` functions.
 
index 93c0c025982076b54cefdb2f89f09a3f22cd12b8..755b94fc0fbe1e25a496d4972f779d3bd00eae58 100644 (file)
@@ -8,6 +8,8 @@
 .. moduleauthor:: Toby Dickenson <htrd90@zepler.org>
 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
 
+**Source code:** :source:`PC/winsound.c`
+
 --------------
 
 The :mod:`winsound` module provides access to the basic sound-playing machinery
@@ -16,6 +18,9 @@ provided by Windows platforms.  It includes functions and several constants.
 .. availability:: Windows.
 
 
+Functions
+---------
+
 .. function:: Beep(frequency, duration)
 
    Beep the PC's speaker. The *frequency* parameter specifies frequency, in hertz,
@@ -46,6 +51,9 @@ provided by Windows platforms.  It includes functions and several constants.
    error, :exc:`RuntimeError` is raised.
 
 
+Constants
+---------
+
 .. data:: SND_FILENAME
 
    The *sound* parameter is the name of a WAV file. Do not use with