[Bug #1181939] Remove incorrect text about __init__; move map discussion into a separate paragraph

This commit is contained in:
Andrew M. Kuchling 2005-06-01 15:39:57 +00:00
parent 597bd60ef1
commit 1a5152d94b

View file

@ -53,12 +53,11 @@ service) is closed.
\function{poll()} call, measured in seconds; the default is 30 seconds.
The \var{use_poll} parameter, if true, indicates that \function{poll()}
should be used in preference to \function{select()} (the default is
\code{False}). The \var{map} parameter is a dictionary whose items are
the channels to watch. As channels are closed they are deleted from their
map. If \var{map} is omitted, a global map is used (this map is updated
by the default class \method{__init__()} -- make sure you extend, rather
than override, \method{__init__()} if you want to retain this behavior).
\code{False}).
The \var{map} parameter is a dictionary whose items are
the channels to watch. As channels are closed they are deleted from their
map. If \var{map} is omitted, a global map is used.
Channels (instances of \class{asyncore.dispatcher}, \class{asynchat.async_chat}
and subclasses thereof) can freely be mixed in the map.
\end{funcdesc}