Skip to content

Commit 5b2d49b

Browse files
authored
Add source links to documentation for Windows-specific modules (GH-130244)
1 parent ee4e14a commit 5b2d49b

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

Doc/library/msvcrt.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
99

10+
**Source code:** :source:`PC/msvcrtmodule.c`
11+
1012
--------------
1113

1214
These functions provide access to some useful capabilities on Windows platforms.

Doc/library/winreg.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
.. sectionauthor:: Mark Hammond <MarkH@ActiveState.com>
99

10+
**Source code:** :source:`PC/winreg.c`
11+
1012
--------------
1113

1214
These functions expose the Windows registry API to Python. Instead of using an
@@ -25,7 +27,7 @@ to explicitly close them.
2527
.. _functions:
2628

2729
Functions
28-
------------------
30+
---------
2931

3032
This module offers the following functions:
3133

@@ -554,7 +556,7 @@ This module offers the following functions:
554556
.. _constants:
555557

556558
Constants
557-
------------------
559+
---------
558560

559561
The following constants are defined for use in many :mod:`winreg` functions.
560562

Doc/library/winsound.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
.. moduleauthor:: Toby Dickenson <htrd90@zepler.org>
99
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
1010

11+
**Source code:** :source:`PC/winsound.c`
12+
1113
--------------
1214

1315
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.
1618
.. availability:: Windows.
1719

1820

21+
Functions
22+
---------
23+
1924
.. function:: Beep(frequency, duration)
2025

2126
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.
4651
error, :exc:`RuntimeError` is raised.
4752

4853

54+
Constants
55+
---------
56+
4957
.. data:: SND_FILENAME
5058

5159
The *sound* parameter is the name of a WAV file. Do not use with

0 commit comments

Comments
 (0)