From: Fred Drake Date: Wed, 1 Nov 2000 03:12:34 +0000 (+0000) Subject: Typo: writeable --> writable X-Git-Tag: v2.1a1~777 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=19647ca3187b9734c2a87a5816240ac723a76d49;p=python Typo: writeable --> writable Reported by Erno Kuusela . --- diff --git a/Doc/lib/libasyncore.tex b/Doc/lib/libasyncore.tex index 5b3909064a..3c42c3c920 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):