[Python-checkins] cpython: Fix grammar and add markup

eli.bendersky python-checkins at python.org
Mon Jan 20 17:13:26 CET 2014


http://hg.python.org/cpython/rev/d51d6f1f9db8
changeset: 88585:d51d6f1f9db8
user: Eli Bendersky <eliben at gmail.com>
date: Mon Jan 20 08:13:31 2014 -0800
summary:
 Fix grammar and add markup
files:
 Doc/library/asyncio-dev.rst | 11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/Doc/library/asyncio-dev.rst b/Doc/library/asyncio-dev.rst
--- a/Doc/library/asyncio-dev.rst
+++ b/Doc/library/asyncio-dev.rst
@@ -4,7 +4,7 @@
 ====================
 
 Asynchronous programming is different than classical "sequential" programming.
-This page lists common traps and explain how to avoid them.
+This page lists common traps and explains how to avoid them.
 
 
 Handle correctly blocking functions
@@ -131,14 +131,15 @@
 See also the :meth:`Future.exception` method.
 
 
-Chain correctly coroutines
+Chain coroutines correctly
 --------------------------
 
 When a coroutine function calls other coroutine functions and tasks, they
-should chained explicitly with ``yield from``. Otherwise, the execution is no
-more guaranteed to be sequential.
+should be chained explicitly with ``yield from``. Otherwise, the execution is
+not guaranteed to be sequential.
 
-Example with different bugs using sleep to simulate slow operations::
+Example with different bugs using :func:`asyncio.sleep` to simulate slow
+operations::
 
 import asyncio
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /