Skip to content

Commit 0dbfab2

Browse files
authored
Add the link to asyncio source code in the docs (GH-2373) (GH-2884)
(cherry picked from commit 627d2c8)
1 parent e42339d commit 0dbfab2

File tree

8 files changed

+23
-3
lines changed

8 files changed

+23
-3
lines changed

Doc/library/asyncio-eventloop.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
Base Event Loop
66
===============
77

8+
**Source code:** :source:`Lib/asyncio/events.py`
9+
810
The event loop is the central execution device provided by :mod:`asyncio`.
911
It provides multiple facilities, including:
1012

Doc/library/asyncio-eventloops.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
Event loops
44
===========
55

6+
**Source code:** :source:`Lib/asyncio/events.py`
7+
68
Event loop functions
79
--------------------
810

Doc/library/asyncio-protocol.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
.. currentmodule:: asyncio
22

3-
++++++++++++++++++++++++++++++++++++++++++++++
4-
Transports and protocols (callback based API)
5-
++++++++++++++++++++++++++++++++++++++++++++++
3+
+++++++++++++++++++++++++++++++++++++++++++++
4+
Transports and protocols (callback based API)
5+
+++++++++++++++++++++++++++++++++++++++++++++
6+
7+
**Source code:** :source:`Lib/asyncio/transports.py`
8+
9+
**Source code:** :source:`Lib/asyncio/protocols.py`
610

711
.. _asyncio-transport:
812

Doc/library/asyncio-queue.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
Queues
44
======
55

6+
**Source code:** :source:`Lib/asyncio/queues.py`
7+
68
Queues:
79

810
* :class:`Queue`

Doc/library/asyncio-stream.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
Streams (coroutine based API)
77
+++++++++++++++++++++++++++++
88

9+
**Source code:** :source:`Lib/asyncio/streams.py`
10+
911
Stream functions
1012
================
1113

Doc/library/asyncio-subprocess.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
Subprocess
66
==========
77

8+
**Source code:** :source:`Lib/asyncio/subprocess.py`
9+
810
Windows event loop
911
------------------
1012

Doc/library/asyncio-sync.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
Synchronization primitives
55
==========================
66

7+
**Source code:** :source:`Lib/asyncio/locks.py`
8+
79
Locks:
810

911
* :class:`Lock`

Doc/library/asyncio-task.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Tasks and coroutines
44
====================
55

6+
**Source code:** :source:`Lib/asyncio/tasks.py`
7+
8+
**Source code:** :source:`Lib/asyncio/coroutines.py`
9+
610
.. _coroutine:
711

812
Coroutines

0 commit comments

Comments
 (0)