diff options
author | Fred Drake <fdrake@acm.org> | 2007-10-05 03:12:00 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2007-10-05 03:12:00 (GMT) |
commit | 0ac4b27be8125290060b2fd15555e03931f13c89 (patch) | |
tree | 19dbf756e75360238ff8e50e577f4b224c550ed8 /Doc | |
parent | 2f2bd3efd5368f3a36697daae19cc62f39149501 (diff) | |
download | cpython-0ac4b27be8125290060b2fd15555e03931f13c89.zip cpython-0ac4b27be8125290060b2fd15555e03931f13c89.tar.gz cpython-0ac4b27be8125290060b2fd15555e03931f13c89.tar.bz2 |
move descriptions of ac_(in|out)_buffer_size to the right place
http://bugs.python.org/issue1053
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libasynchat.tex | 11 | ||||
-rw-r--r-- | Doc/lib/libasyncore.tex | 11 |
2 files changed, 11 insertions, 11 deletions
diff --git a/Doc/lib/libasynchat.tex b/Doc/lib/libasynchat.tex index 223bfed7..03fe9ea 100644 --- a/Doc/lib/libasynchat.tex +++ b/Doc/lib/libasynchat.tex @@ -32,6 +32,17 @@ 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. + + \begin{datadesc}{ac_in_buffer_size} + The asynchronous input buffer size (default \code{4096}). + \end{datadesc} + + \begin{datadesc}{ac_out_buffer_size} + The asynchronous output buffer size (default \code{4096}). + \end{datadesc} + Unlike \class{asyncore.dispatcher}, \class{async_chat} allows you to define a first-in-first-out queue (fifo) of \emph{producers}. A producer need have only one method, \method{more()}, which should return data to be transmitted diff --git a/Doc/lib/libasyncore.tex b/Doc/lib/libasyncore.tex index 2067839..c1c0313 100644 --- a/Doc/lib/libasyncore.tex +++ b/Doc/lib/libasyncore.tex @@ -68,17 +68,6 @@ service) is closed. from the asynchronous loop. Otherwise, it can be treated as a normal non-blocking socket object. - Two class attributes can be modified, to improve performance, - or possibly even to conserve memory. - - \begin{datadesc}{ac_in_buffer_size} - The asynchronous input buffer size (default \code{4096}). - \end{datadesc} - - \begin{datadesc}{ac_out_buffer_size} - The asynchronous output buffer size (default \code{4096}). - \end{datadesc} - The firing of low-level events at certain times or in certain connection states tells the asynchronous loop that certain higher-level events have taken place. For example, if we have asked for a socket to connect to |