]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] gh-85073: Add some missing links to source (GH-99363) (#99589)
authorStanley <46876382+slateny@users.noreply.github.com>
Sat, 19 Nov 2022 14:44:52 +0000 (06:44 -0800)
committerGitHub <noreply@github.com>
Sat, 19 Nov 2022 14:44:52 +0000 (06:44 -0800)
(cherry picked from commit 27d8dc2c9d3de886a884f79f0621d4586c0e0f7a)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Doc/library/asyncio-task.rst
Doc/library/ctypes.rst
Doc/library/curses.ascii.rst
Doc/library/curses.rst
Doc/library/ensurepip.rst
Doc/library/signal.rst
Doc/library/wsgiref.rst
Doc/library/zoneinfo.rst

index a43484bf78b6ba52c909db4aeb953abda06dfbdc..5608022c9afdbb6642cd479b7b5c80faf31da575 100644 (file)
@@ -18,6 +18,10 @@ and Tasks.
 Coroutines
 ==========
 
+**Source code:** :source:`Lib/asyncio/coroutines.py`
+
+----------------------------------------------------
+
 :term:`Coroutines <coroutine>` declared with the async/await syntax is the
 preferred way of writing asyncio applications.  For example, the following
 snippet of code prints "hello", waits 1 second,
@@ -247,6 +251,10 @@ Running an asyncio Program
 Creating Tasks
 ==============
 
+**Source code:** :source:`Lib/asyncio/tasks.py`
+
+-----------------------------------------------
+
 .. function:: create_task(coro, *, name=None)
 
    Wrap the *coro* :ref:`coroutine <coroutine>` into a :class:`Task`
index 325ef72a4786d25e9f8bb10b9b1dcbc0bede5eff..9f8737b731ee535ac9aebc5b13d2ea86cd7eead1 100644 (file)
@@ -6,6 +6,8 @@
 
 .. moduleauthor:: Thomas Heller <theller@python.net>
 
+**Source code:** :source:`Lib/ctypes`
+
 --------------
 
 :mod:`ctypes` is a foreign function library for Python.  It provides C compatible
index a69dbb2ac06572e279d86a7854459a914ba36fe3..e1d1171927c9e2f7255399c104f852515ffed90a 100644 (file)
@@ -7,6 +7,8 @@
 .. moduleauthor:: Eric S. Raymond <esr@thyrsus.com>
 .. sectionauthor:: Eric S. Raymond <esr@thyrsus.com>
 
+**Source code:** :source:`Lib/curses/ascii.py`
+
 --------------
 
 The :mod:`curses.ascii` module supplies name constants for ASCII characters and
index 2158fba35eab94ba6ecdfa32d6dc2329110b97f9..55ab06018d70975f95d6755f0c7e0b25550cb6c3 100644 (file)
@@ -9,6 +9,8 @@
 .. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
 .. sectionauthor:: Eric Raymond <esr@thyrsus.com>
 
+**Source code:** :source:`Lib/curses`
+
 --------------
 
 The :mod:`curses` module provides an interface to the curses library, the
index fa1b42cf48409402e1bf3031f224b1a666044bdf..9035ded30aaf346827fd12b9da7b10c9bc4c27ee 100644 (file)
@@ -7,6 +7,8 @@
 
 .. versionadded:: 3.4
 
+**Source code:** :source:`Lib/ensurepip`
+
 --------------
 
 The :mod:`ensurepip` package provides support for bootstrapping the ``pip``
index e763e16d02a3ea75140bd3a060e8097aa07ef8fd..40c359f5866687bb18859a7569dff93e0d76079e 100644 (file)
@@ -4,6 +4,8 @@
 .. module:: signal
    :synopsis: Set handlers for asynchronous events.
 
+**Source code:** :source:`Lib/signal.py`
+
 --------------
 
 This module provides mechanisms to use signal handlers in Python.
index 2e0a16e52e2758a4a645888f10145a140cd99348..7be4be47f35fb5924abc8f772cc71179f1bb3f01 100644 (file)
@@ -7,6 +7,8 @@
 .. moduleauthor:: Phillip J. Eby <pje@telecommunity.com>
 .. sectionauthor:: Phillip J. Eby <pje@telecommunity.com>
 
+**Source code:** :source:`Lib/wsgiref`
+
 --------------
 
 The Web Server Gateway Interface (WSGI) is a standard interface between web
index 1b2ba2af2ae6fbaf1ef364e95d040465d88b759e..b0a68e124a5b581c24fa8a52cc1f7e8994cd66d1 100644 (file)
@@ -9,6 +9,8 @@
 .. moduleauthor:: Paul Ganssle <paul@ganssle.io>
 .. sectionauthor:: Paul Ganssle <paul@ganssle.io>
 
+**Source code:** :source:`Lib/zoneinfo`
+
 --------------
 
 The :mod:`zoneinfo` module provides a concrete time zone implementation to