[Python-checkins] cpython: Fix markup of notes recommending asyncio.

guido.van.rossum python-checkins at python.org
Fri Nov 22 21:27:52 CET 2013


http://hg.python.org/cpython/rev/f3eb4a1b27c9
changeset:   87368:f3eb4a1b27c9
user:        Guido van Rossum <guido at dropbox.com>
date:        Fri Nov 22 12:27:45 2013 -0800
summary:
  Fix markup of notes recommending asyncio.

files:
  Doc/library/asynchat.rst |  6 ++++--
  Doc/library/asyncore.rst |  6 ++++--
  2 files changed, 8 insertions(+), 4 deletions(-)


diff --git a/Doc/library/asynchat.rst b/Doc/library/asynchat.rst
--- a/Doc/library/asynchat.rst
+++ b/Doc/library/asynchat.rst
@@ -10,8 +10,10 @@
 
 --------------
 
-Note: This module exists for backwards compatibility only.  For new code we
-recommend using :module:`asyncio`.
+.. note::
+
+   This module exists for backwards compatibility only.  For new code we
+   recommend using :mod:`asyncio`.
 
 This module builds on the :mod:`asyncore` infrastructure, simplifying
 asynchronous clients and servers and making it easier to handle protocols
diff --git a/Doc/library/asyncore.rst b/Doc/library/asyncore.rst
--- a/Doc/library/asyncore.rst
+++ b/Doc/library/asyncore.rst
@@ -13,8 +13,10 @@
 
 --------------
 
-Note: This module exists for backwards compatibility only.  For new code we
-recommend using :module:`asyncio`.
+.. note::
+
+   This module exists for backwards compatibility only.  For new code we
+   recommend using :mod:`asyncio`.
 
 This module provides the basic infrastructure for writing asynchronous  socket
 service clients and servers.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list