Skip to content

Commit

Permalink
[3.10] pythongh-85073: Add some missing links to source (pythonGH-99363)
Browse files Browse the repository at this point in the history
Add some missing links to source from Python docs.
(cherry picked from commit 27d8dc2)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
  • Loading branch information
slateny committed Nov 19, 2022
1 parent 731a747 commit cb91344
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Doc/library/asyncio-task.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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`
Expand Down
2 changes: 2 additions & 0 deletions Doc/library/ctypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Doc/library/curses.ascii.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Doc/library/curses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Doc/library/ensurepip.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

.. versionadded:: 3.4

**Source code:** :source:`Lib/ensurepip`

--------------

The :mod:`ensurepip` package provides support for bootstrapping the ``pip``
Expand Down
2 changes: 2 additions & 0 deletions Doc/library/signal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions Doc/library/wsgiref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Doc/library/zoneinfo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb91344

Please sign in to comment.