]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-85073: Add some missing links to source (GH-99363)
authorStanley <46876382+slateny@users.noreply.github.com>
Fri, 18 Nov 2022 19:33:40 +0000 (11:33 -0800)
committerGitHub <noreply@github.com>
Fri, 18 Nov 2022 19:33:40 +0000 (11:33 -0800)
Add some missing links to source from Python docs

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 fb6d23fda03e41df4f6f54395b6489dbd07d1f38..631a5ddc1f65009fd97a5e4687f4eb0bddbdfbf9 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,
@@ -230,6 +234,10 @@ is :meth:`loop.run_in_executor`.
 Creating Tasks
 ==============
 
+**Source code:** :source:`Lib/asyncio/tasks.py`
+
+-----------------------------------------------
+
 .. function:: create_task(coro, *, name=None, context=None)
 
    Wrap the *coro* :ref:`coroutine <coroutine>` into a :class:`Task`
index 971adb4611fd50a09ab24e03583f20d93b3b88ca..e85a6cb7149c7bfc67d1d99dca6c81e539bec1ad 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 bf4e69a0170a62c6e1e8ee8fefbce38aea36c82c..f9f94b22f69e3d998df018ae4071563a024f2cfc 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 34f45e20bae9d9cdc47e7c0b5752a66858ff2482..d7f89cf96368b5747c8222d10fbf9f796bbe2683 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 6cca760583cc30669b0819335ecc9af31b2b3ca9..523d1ac50013600903ed237e35fb79ca63a51453 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 06223e667a450a5d51f2571bdc1d4b3cd436e7e3..75dea4663351634fb4a5f69d7a44434f53081e37 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 2f1879dc056a881e7bc9e419eb29a83ed4a0a2d8..d2e5619e7e47c255af7cb242305fea0fa92a405a 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