Skip to content

Commit 27d8dc2

Browse files
authored
gh-85073: Add some missing links to source (GH-99363)
Add some missing links to source from Python docs
1 parent 0e09d2c commit 27d8dc2

File tree

8 files changed

+22
-0
lines changed

8 files changed

+22
-0
lines changed

Doc/library/asyncio-task.rst

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ and Tasks.
1818
Coroutines
1919
==========
2020

21+
**Source code:** :source:`Lib/asyncio/coroutines.py`
22+
23+
----------------------------------------------------
24+
2125
:term:`Coroutines <coroutine>` declared with the async/await syntax is the
2226
preferred way of writing asyncio applications. For example, the following
2327
snippet of code prints "hello", waits 1 second,
@@ -230,6 +234,10 @@ is :meth:`loop.run_in_executor`.
230234
Creating Tasks
231235
==============
232236

237+
**Source code:** :source:`Lib/asyncio/tasks.py`
238+
239+
-----------------------------------------------
240+
233241
.. function:: create_task(coro, *, name=None, context=None)
234242

235243
Wrap the *coro* :ref:`coroutine <coroutine>` into a :class:`Task`

Doc/library/ctypes.rst

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
.. moduleauthor:: Thomas Heller <theller@python.net>
88

9+
**Source code:** :source:`Lib/ctypes`
10+
911
--------------
1012

1113
:mod:`ctypes` is a foreign function library for Python. It provides C compatible

Doc/library/curses.ascii.rst

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
.. moduleauthor:: Eric S. Raymond <esr@thyrsus.com>
88
.. sectionauthor:: Eric S. Raymond <esr@thyrsus.com>
99

10+
**Source code:** :source:`Lib/curses/ascii.py`
11+
1012
--------------
1113

1214
The :mod:`curses.ascii` module supplies name constants for ASCII characters and

Doc/library/curses.rst

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
1010
.. sectionauthor:: Eric Raymond <esr@thyrsus.com>
1111

12+
**Source code:** :source:`Lib/curses`
13+
1214
--------------
1315

1416
The :mod:`curses` module provides an interface to the curses library, the

Doc/library/ensurepip.rst

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
.. versionadded:: 3.4
99

10+
**Source code:** :source:`Lib/ensurepip`
11+
1012
--------------
1113

1214
The :mod:`ensurepip` package provides support for bootstrapping the ``pip``

Doc/library/signal.rst

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
.. module:: signal
55
:synopsis: Set handlers for asynchronous events.
66

7+
**Source code:** :source:`Lib/signal.py`
8+
79
--------------
810

911
This module provides mechanisms to use signal handlers in Python.

Doc/library/wsgiref.rst

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
.. moduleauthor:: Phillip J. Eby <pje@telecommunity.com>
88
.. sectionauthor:: Phillip J. Eby <pje@telecommunity.com>
99

10+
**Source code:** :source:`Lib/wsgiref`
11+
1012
--------------
1113

1214
The Web Server Gateway Interface (WSGI) is a standard interface between web

Doc/library/zoneinfo.rst

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
.. moduleauthor:: Paul Ganssle <paul@ganssle.io>
1010
.. sectionauthor:: Paul Ganssle <paul@ganssle.io>
1111

12+
**Source code:** :source:`Lib/zoneinfo`
13+
1214
--------------
1315

1416
The :mod:`zoneinfo` module provides a concrete time zone implementation to

0 commit comments

Comments
 (0)