summaryrefslogtreecommitdiffstats
path: root/Doc/library/asynchat.rst
diff options
context:
space:
mode:
authorGuido van Rossum <guido@dropbox.com>2013-11-22 19:57:35 (GMT)
committerGuido van Rossum <guido@dropbox.com>2013-11-22 19:57:35 (GMT)
commitaa407758176affde0c81301e3c8856dd73e6b1c3 (patch)
tree2dd1a82df9cde200adb04debc05b28166f324a4d /Doc/library/asynchat.rst
parent5467da860cc0884b0ce2f2a0456f5955845d5450 (diff)
downloadcpython-aa407758176affde0c81301e3c8856dd73e6b1c3.zip
cpython-aa407758176affde0c81301e3c8856dd73e6b1c3.tar.gz
cpython-aa407758176affde0c81301e3c8856dd73e6b1c3.tar.bz2
Add note to asyncore/asynchat recommending asyncio for new code.
Diffstat (limited to 'Doc/library/asynchat.rst')
-rw-r--r--Doc/library/asynchat.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/asynchat.rst b/Doc/library/asynchat.rst
index 55c61d7..7050f0c 100644
--- a/Doc/library/asynchat.rst
+++ b/Doc/library/asynchat.rst
@@ -10,6 +10,9 @@
--------------
+Note: This module exists for backwards compatibility only. For new code we
+recommend using :module:`asyncio`.
+
This module builds on the :mod:`asyncore` infrastructure, simplifying
asynchronous clients and servers and making it easier to handle protocols
whose elements are terminated by arbitrary strings, or are of variable length.