From: Guido van Rossum Date: Fri, 22 Nov 2013 20:27:45 +0000 (-0800) Subject: Fix markup of notes recommending asyncio. X-Git-Tag: v3.4.0b1~102^2~2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4da459c4885a953103f1fd322036d9e20a5e4795;p=python Fix markup of notes recommending asyncio. --- diff --git a/Doc/library/asynchat.rst b/Doc/library/asynchat.rst index 7050f0c5a3..7b8107434a 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 d0a30f8ae6..61079c5b34 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.