mirror of https://github.com/python/cpython
Add the link to asyncio source code in the docs (GH-2373)
This commit is contained in:
parent
cc5a65cd90
commit
627d2c8e8d
|
@ -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:
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
Event loops
|
||||
===========
|
||||
|
||||
**Source code:** :source:`Lib/asyncio/events.py`
|
||||
|
||||
Event loop functions
|
||||
--------------------
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
Queues
|
||||
======
|
||||
|
||||
**Source code:** :source:`Lib/asyncio/queues.py`
|
||||
|
||||
Queues:
|
||||
|
||||
* :class:`Queue`
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
Streams (coroutine based API)
|
||||
+++++++++++++++++++++++++++++
|
||||
|
||||
**Source code:** :source:`Lib/asyncio/streams.py`
|
||||
|
||||
Stream functions
|
||||
================
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
Subprocess
|
||||
==========
|
||||
|
||||
**Source code:** :source:`Lib/asyncio/subprocess.py`
|
||||
|
||||
Windows event loop
|
||||
------------------
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
Synchronization primitives
|
||||
==========================
|
||||
|
||||
**Source code:** :source:`Lib/asyncio/locks.py`
|
||||
|
||||
Locks:
|
||||
|
||||
* :class:`Lock`
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
Tasks and coroutines
|
||||
====================
|
||||
|
||||
**Source code:** :source:`Lib/asyncio/tasks.py`
|
||||
|
||||
**Source code:** :source:`Lib/asyncio/coroutines.py`
|
||||
|
||||
.. _coroutine:
|
||||
|
||||
Coroutines
|
||||
|
|
Loading…
Reference in New Issue