https://github.com/python/cpython/commit/5b2d49b7da25bdd7bde603c71ac8685993008b96 commit: 5b2d49b7da25bdd7bde603c71ac8685993008b96 branch: main author: Dimma Don't <[email protected]> committer: zooba <[email protected]> date: 2026-01-22T21:30:13Z summary:
Add source links to documentation for Windows-specific modules (GH-130244) files: M Doc/library/msvcrt.rst M Doc/library/winreg.rst M Doc/library/winsound.rst diff --git a/Doc/library/msvcrt.rst b/Doc/library/msvcrt.rst index a2c5e375d2cc4f..80f3ae4ee3f5c1 100644 --- a/Doc/library/msvcrt.rst +++ b/Doc/library/msvcrt.rst @@ -7,6 +7,8 @@ .. sectionauthor:: Fred L. Drake, Jr. <[email protected]> +**Source code:** :source:`PC/msvcrtmodule.c` + -------------- These functions provide access to some useful capabilities on Windows platforms. diff --git a/Doc/library/winreg.rst b/Doc/library/winreg.rst index 89def6e2afe088..d167c41ab72c34 100644 --- a/Doc/library/winreg.rst +++ b/Doc/library/winreg.rst @@ -7,6 +7,8 @@ .. sectionauthor:: Mark Hammond <[email protected]> +**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. diff --git a/Doc/library/winsound.rst b/Doc/library/winsound.rst index 93c0c025982076..755b94fc0fbe1e 100644 --- a/Doc/library/winsound.rst +++ b/Doc/library/winsound.rst @@ -8,6 +8,8 @@ .. moduleauthor:: Toby Dickenson <[email protected]> .. sectionauthor:: Fred L. Drake, Jr. <[email protected]> +**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 _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
