summaryrefslogtreecommitdiffstats
path: root/Doc/library/asynchat.rst
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2007-10-05 02:48:32 (GMT)
committerFred Drake <fdrake@acm.org>2007-10-05 02:48:32 (GMT)
commit06f8067acf45489bb962c170df5ca52f3e04e139 (patch)
tree492b2494bd2f8226b70020631428ea65d003094d /Doc/library/asynchat.rst
parenta7fc4b13e08430b14b2ac18555ba4dda315948d0 (diff)
downloadcpython-06f8067acf45489bb962c170df5ca52f3e04e139.zip
cpython-06f8067acf45489bb962c170df5ca52f3e04e139.tar.gz
cpython-06f8067acf45489bb962c170df5ca52f3e04e139.tar.bz2
move descriptions of ac_(in|out)_buffer_size to the right place
http://bugs.python.org/issue1053
Diffstat (limited to 'Doc/library/asynchat.rst')
-rw-r--r--Doc/library/asynchat.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Doc/library/asynchat.rst b/Doc/library/asynchat.rst
index f870e12..8e9437d 100644
--- a/Doc/library/asynchat.rst
+++ b/Doc/library/asynchat.rst
@@ -36,6 +36,19 @@ connection requests.
:class:`async_chat` object's methods are called by the event-processing
framework with no action on the part of the programmer.
+ Two class attributes can be modified, to improve performance, or possibly
+ even to conserve memory.
+
+
+ .. data:: ac_in_buffer_size
+
+ The asynchronous input buffer size (default ``4096``).
+
+
+ .. data:: ac_out_buffer_size
+
+ The asynchronous output buffer size (default ``4096``).
+
Unlike :class:`asyncore.dispatcher`, :class:`async_chat` allows you to
define a first-in-first-out queue (fifo) of *producers*. A producer need
have only one method, :meth:`more`, which should return data to be