[Python-checkins] [3.10] gh-85073: Add some missing links to source (GH-99363) (#99589)

gvanrossum webhook-mailer at python.org
Sat Nov 19 09:45:06 EST 2022


https://github.com/python/cpython/commit/4572c98ad2a632fec67d46f0e89131cd147b84f6
commit: 4572c98ad2a632fec67d46f0e89131cd147b84f6
branch: 3.10
author: Stanley <46876382+slateny at users.noreply.github.com>
committer: gvanrossum <gvanrossum at gmail.com>
date: 2022-11-19T06:44:52-08:00
summary:

[3.10] gh-85073: Add some missing links to source (GH-99363) (#99589)


(cherry picked from commit 27d8dc2c9d3de886a884f79f0621d4586c0e0f7a)

Co-authored-by: Stanley <46876382+slateny at users.noreply.github.com>

files:
M Doc/library/asyncio-task.rst
M Doc/library/ctypes.rst
M Doc/library/curses.ascii.rst
M Doc/library/curses.rst
M Doc/library/ensurepip.rst
M Doc/library/signal.rst
M Doc/library/wsgiref.rst
M Doc/library/zoneinfo.rst

diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index a43484bf78b6..5608022c9afd 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -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`
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index 325ef72a4786..9f8737b731ee 100644
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -6,6 +6,8 @@
 
 .. moduleauthor:: Thomas Heller <theller at python.net>
 
+**Source code:** :source:`Lib/ctypes`
+
 --------------
 
 :mod:`ctypes` is a foreign function library for Python.  It provides C compatible
diff --git a/Doc/library/curses.ascii.rst b/Doc/library/curses.ascii.rst
index a69dbb2ac065..e1d1171927c9 100644
--- a/Doc/library/curses.ascii.rst
+++ b/Doc/library/curses.ascii.rst
@@ -7,6 +7,8 @@
 .. moduleauthor:: Eric S. Raymond <esr at thyrsus.com>
 .. sectionauthor:: Eric S. Raymond <esr at thyrsus.com>
 
+**Source code:** :source:`Lib/curses/ascii.py`
+
 --------------
 
 The :mod:`curses.ascii` module supplies name constants for ASCII characters and
diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst
index 2158fba35eab..55ab06018d70 100644
--- a/Doc/library/curses.rst
+++ b/Doc/library/curses.rst
@@ -9,6 +9,8 @@
 .. sectionauthor:: Moshe Zadka <moshez at zadka.site.co.il>
 .. sectionauthor:: Eric Raymond <esr at thyrsus.com>
 
+**Source code:** :source:`Lib/curses`
+
 --------------
 
 The :mod:`curses` module provides an interface to the curses library, the
diff --git a/Doc/library/ensurepip.rst b/Doc/library/ensurepip.rst
index fa1b42cf4840..9035ded30aaf 100644
--- a/Doc/library/ensurepip.rst
+++ b/Doc/library/ensurepip.rst
@@ -7,6 +7,8 @@
 
 .. versionadded:: 3.4
 
+**Source code:** :source:`Lib/ensurepip`
+
 --------------
 
 The :mod:`ensurepip` package provides support for bootstrapping the ``pip``
diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst
index e763e16d02a3..40c359f58666 100644
--- a/Doc/library/signal.rst
+++ b/Doc/library/signal.rst
@@ -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.
diff --git a/Doc/library/wsgiref.rst b/Doc/library/wsgiref.rst
index 2e0a16e52e27..7be4be47f35f 100644
--- a/Doc/library/wsgiref.rst
+++ b/Doc/library/wsgiref.rst
@@ -7,6 +7,8 @@
 .. moduleauthor:: Phillip J. Eby <pje at telecommunity.com>
 .. sectionauthor:: Phillip J. Eby <pje at telecommunity.com>
 
+**Source code:** :source:`Lib/wsgiref`
+
 --------------
 
 The Web Server Gateway Interface (WSGI) is a standard interface between web
diff --git a/Doc/library/zoneinfo.rst b/Doc/library/zoneinfo.rst
index 1b2ba2af2ae6..b0a68e124a5b 100644
--- a/Doc/library/zoneinfo.rst
+++ b/Doc/library/zoneinfo.rst
@@ -9,6 +9,8 @@
 .. moduleauthor:: Paul Ganssle <paul at ganssle.io>
 .. sectionauthor:: Paul Ganssle <paul at ganssle.io>
 
+**Source code:** :source:`Lib/zoneinfo`
+
 --------------
 
 The :mod:`zoneinfo` module provides a concrete time zone implementation to



More information about the Python-checkins mailing list