diff options
author | Fred Drake <fdrake@acm.org> | 2000-11-01 03:12:34 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-11-01 03:12:34 (GMT) |
commit | 19647ca3187b9734c2a87a5816240ac723a76d49 (patch) | |
tree | 1de684f15de14380ece1ea9e5c49998b98bc328c /Doc/lib | |
parent | 0d430e28c075fce4539d6da66731c306b25473da (diff) | |
download | cpython-19647ca3187b9734c2a87a5816240ac723a76d49.zip cpython-19647ca3187b9734c2a87a5816240ac723a76d49.tar.gz cpython-19647ca3187b9734c2a87a5816240ac723a76d49.tar.bz2 |
Typo: writeable --> writable
Reported by Erno Kuusela <erno@iki.fi>.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libasyncore.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libasyncore.tex b/Doc/lib/libasyncore.tex index 5b39090..3c42c3c 100644 --- a/Doc/lib/libasyncore.tex +++ b/Doc/lib/libasyncore.tex @@ -103,7 +103,7 @@ def handle_write(self): indicating that by default, all channels will be interested. \end{methoddesc} -\begin{methoddesc}{writeable}{} +\begin{methoddesc}{writable}{} Each time through the \method{select()} loop, the set of sockets is scanned, and this method is called to see if there is any interest in writing. The default method simply returns \code{1}, @@ -187,7 +187,7 @@ class http_client(asyncore.dispatcher): data = self.recv(8192) print data - def writeable(self): + def writable(self): return (len(self.buffer) > 0) def handle_write(self): |