Commit 1a5152d9 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

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

parent 597bd60e
......@@ -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}
......
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