summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.