From 4da459c4885a953103f1fd322036d9e20a5e4795 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 22 Nov 2013 12:27:45 -0800 Subject: Fix markup of notes recommending asyncio. --- 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 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. -- cgit v0.12