Kaydet (Commit) aa407758 authored tarafından Guido van Rossum's avatar Guido van Rossum

Add note to asyncore/asynchat recommending asyncio for new code.

üst 5467da86
...@@ -10,6 +10,9 @@ ...@@ -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 This module builds on the :mod:`asyncore` infrastructure, simplifying
asynchronous clients and servers and making it easier to handle protocols asynchronous clients and servers and making it easier to handle protocols
whose elements are terminated by arbitrary strings, or are of variable length. whose elements are terminated by arbitrary strings, or are of variable length.
......
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
-------------- --------------
Note: This module exists for backwards compatibility only. For new code we
recommend using :module:`asyncio`.
This module provides the basic infrastructure for writing asynchronous socket This module provides the basic infrastructure for writing asynchronous socket
service clients and servers. service clients and servers.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment