mirror of
https://github.com/python/cpython.git
synced 2025-10-03 05:35:59 +00:00
Add the link to asyncio source code in the docs (GH-2373) (GH-2884)
(cherry picked from commit 627d2c8e8d
)
This commit is contained in:
parent
e42339d3a0
commit
0dbfab2ac7
8 changed files with 23 additions and 3 deletions
|
@ -5,6 +5,8 @@
|
||||||
Base Event Loop
|
Base Event Loop
|
||||||
===============
|
===============
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/asyncio/events.py`
|
||||||
|
|
||||||
The event loop is the central execution device provided by :mod:`asyncio`.
|
The event loop is the central execution device provided by :mod:`asyncio`.
|
||||||
It provides multiple facilities, including:
|
It provides multiple facilities, including:
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
Event loops
|
Event loops
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/asyncio/events.py`
|
||||||
|
|
||||||
Event loop functions
|
Event loop functions
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,12 @@
|
||||||
.. currentmodule:: asyncio
|
.. 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:
|
.. _asyncio-transport:
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
Queues
|
Queues
|
||||||
======
|
======
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/asyncio/queues.py`
|
||||||
|
|
||||||
Queues:
|
Queues:
|
||||||
|
|
||||||
* :class:`Queue`
|
* :class:`Queue`
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
Streams (coroutine based API)
|
Streams (coroutine based API)
|
||||||
+++++++++++++++++++++++++++++
|
+++++++++++++++++++++++++++++
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/asyncio/streams.py`
|
||||||
|
|
||||||
Stream functions
|
Stream functions
|
||||||
================
|
================
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
Subprocess
|
Subprocess
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/asyncio/subprocess.py`
|
||||||
|
|
||||||
Windows event loop
|
Windows event loop
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
Synchronization primitives
|
Synchronization primitives
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/asyncio/locks.py`
|
||||||
|
|
||||||
Locks:
|
Locks:
|
||||||
|
|
||||||
* :class:`Lock`
|
* :class:`Lock`
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
Tasks and coroutines
|
Tasks and coroutines
|
||||||
====================
|
====================
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/asyncio/tasks.py`
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/asyncio/coroutines.py`
|
||||||
|
|
||||||
.. _coroutine:
|
.. _coroutine:
|
||||||
|
|
||||||
Coroutines
|
Coroutines
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue