Kaydet (Commit) b73c8331 authored tarafından Eli Bendersky's avatar Eli Bendersky

Various formatting & grammar fixes in asyncio* docs.

üst 8b402629
...@@ -44,7 +44,7 @@ the event loop. ...@@ -44,7 +44,7 @@ the event loop.
.. _asyncio-handle-blocking: .. _asyncio-handle-blocking:
Handle correctly blocking functions Handle blocking functions correctly
----------------------------------- -----------------------------------
Blocking functions should not be called directly. For example, if a function Blocking functions should not be called directly. For example, if a function
......
...@@ -8,15 +8,15 @@ Event loops ...@@ -8,15 +8,15 @@ Event loops
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, amongst which: It provides multiple facilities, amongst which:
* Registering, executing and cancelling delayed calls (timeouts) * Registering, executing and cancelling delayed calls (timeouts).
* Creating client and server :ref:`transports <asyncio-transport>` for various * Creating client and server :ref:`transports <asyncio-transport>` for various
kinds of communication kinds of communication.
* Launching subprocesses and the associated :ref:`transports <asyncio-transport>` * Launching subprocesses and the associated :ref:`transports <asyncio-transport>`
for communication with an external program for communication with an external program.
* Delegating costly function calls to a pool of threads * Delegating costly function calls to a pool of threads.
Event loop functions Event loop functions
-------------------- --------------------
......
...@@ -30,7 +30,7 @@ Here is a more detailed list of the package contents: ...@@ -30,7 +30,7 @@ Here is a more detailed list of the package contents:
* coroutines and tasks based on ``yield from`` (:PEP:`380`), to help write * coroutines and tasks based on ``yield from`` (:PEP:`380`), to help write
concurrent code in a sequential fashion; concurrent code in a sequential fashion;
* cancellation support for Futures and coroutines; * cancellation support for :class:`Future`\s and coroutines;
* :ref:`synchronization primitives <asyncio-sync>` for use between coroutines in * :ref:`synchronization primitives <asyncio-sync>` for use between coroutines in
a single thread, mimicking those in the :mod:`threading` module; a single thread, mimicking those in the :mod:`threading` module;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment