summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@dropbox.com>2013-11-22 20:27:45 (GMT)
committerGuido van Rossum <guido@dropbox.com>2013-11-22 20:27:45 (GMT)
commit4da459c4885a953103f1fd322036d9e20a5e4795 (patch)
tree7af2dfb5b0cdf6b7d39cbfd646162854a6b5508e /Doc
parent9ae874207512835c321287776a58cf088a428553 (diff)
downloadcpython-4da459c4885a953103f1fd322036d9e20a5e4795.zip
cpython-4da459c4885a953103f1fd322036d9e20a5e4795.tar.gz
cpython-4da459c4885a953103f1fd322036d9e20a5e4795.tar.bz2
Fix markup of notes recommending asyncio.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/asynchat.rst6
-rw-r--r--Doc/library/asyncore.rst6
2 files changed, 8 insertions, 4 deletions
diff --git a/Doc/library/asynchat.rst b/Doc/library/asynchat.rst
index 7050f0c..7b81074 100644
--- 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
index d0a30f8..61079c5 100644
--- 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.