]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add the link to asyncio source code in the docs (GH-2373) (GH-2884)
authorMariatta <Mariatta@users.noreply.github.com>
Wed, 26 Jul 2017 04:05:17 +0000 (21:05 -0700)
committerGitHub <noreply@github.com>
Wed, 26 Jul 2017 04:05:17 +0000 (21:05 -0700)
(cherry picked from commit 627d2c8e8dc9cfe6c1cdfd9b34899eb30b600a88)

Doc/library/asyncio-eventloop.rst
Doc/library/asyncio-eventloops.rst
Doc/library/asyncio-protocol.rst
Doc/library/asyncio-queue.rst
Doc/library/asyncio-stream.rst
Doc/library/asyncio-subprocess.rst
Doc/library/asyncio-sync.rst
Doc/library/asyncio-task.rst

index fa6a29604ca2ba4f395ca9efebd25912fe165b87..83bbb70b03792885e689bc768beaa3513cb0c2a2 100644 (file)
@@ -5,6 +5,8 @@
 Base Event Loop
 ===============
 
+**Source code:** :source:`Lib/asyncio/events.py`
+
 The event loop is the central execution device provided by :mod:`asyncio`.
 It provides multiple facilities, including:
 
index 1dc18fce79d021f424585edcb1d3d071acdc9c02..d74fcb1e07f249e29d502dfc64cece6673d0292e 100644 (file)
@@ -3,6 +3,8 @@
 Event loops
 ===========
 
+**Source code:** :source:`Lib/asyncio/events.py`
+
 Event loop functions
 --------------------
 
index dfe37c239d6b39113688240e25b1f0b56b67eee7..cd84ae76b5d86e0fbd6b7bee880e930cda683c6e 100644 (file)
@@ -1,8 +1,12 @@
 .. currentmodule:: asyncio
 
-++++++++++++++++++++++++++++++++++++++++++++++
-Transports  and protocols (callback based API)
-++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++
+Transports and protocols (callback based API)
++++++++++++++++++++++++++++++++++++++++++++++
+
+**Source code:** :source:`Lib/asyncio/transports.py`
+
+**Source code:** :source:`Lib/asyncio/protocols.py`
 
 .. _asyncio-transport:
 
index f11c09ac29055e9ffa610beb9bdfb0d4ee2ac658..ea78755008244d82578ada2680d31a74f833db75 100644 (file)
@@ -3,6 +3,8 @@
 Queues
 ======
 
+**Source code:** :source:`Lib/asyncio/queues.py`
+
 Queues:
 
 * :class:`Queue`
index 6177b4bb0f8b14fa53aa868e893b507a1274ea59..491afdd610ca0864867014f4e5ae435531b6e6c5 100644 (file)
@@ -6,6 +6,8 @@
 Streams (coroutine based API)
 +++++++++++++++++++++++++++++
 
+**Source code:** :source:`Lib/asyncio/streams.py`
+
 Stream functions
 ================
 
index 16ba9a3cd6c7f24dae692f3d1f787aae31bea7ce..1c1d0be918da74cc7224b9c7a19e4f522b111dff 100644 (file)
@@ -5,6 +5,8 @@
 Subprocess
 ==========
 
+**Source code:** :source:`Lib/asyncio/subprocess.py`
+
 Windows event loop
 ------------------
 
index 09093521524a89bf91394d19d4c75fe061645288..14e3defbf4118a68f6d9cb6a0fb0e8fa085266cc 100644 (file)
@@ -4,6 +4,8 @@
 Synchronization primitives
 ==========================
 
+**Source code:** :source:`Lib/asyncio/locks.py`
+
 Locks:
 
 * :class:`Lock`
index 804f1925b409298ac493f5a49e4b6ab8e0738dd2..5298c11058c4b1864165e571249927b73d21b4d5 100644 (file)
@@ -3,6 +3,10 @@
 Tasks and coroutines
 ====================
 
+**Source code:** :source:`Lib/asyncio/tasks.py`
+
+**Source code:** :source:`Lib/asyncio/coroutines.py`
+
 .. _coroutine:
 
 Coroutines