diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2004-03-21 19:52:01 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2004-03-21 19:52:01 (GMT) |
commit | 419af88b34fb84062baed5c0be7f6c9e72fcb77d (patch) | |
tree | 33cd6f699988b043866a715d74615e5559030cbf /Lib/asyncore.py | |
parent | 0ebbbe30f1652c71133542f237f69a008395a8e7 (diff) | |
download | cpython-419af88b34fb84062baed5c0be7f6c9e72fcb77d.zip cpython-419af88b34fb84062baed5c0be7f6c9e72fcb77d.tar.gz cpython-419af88b34fb84062baed5c0be7f6c9e72fcb77d.tar.bz2 |
[Part of patch #909005] Remove Mac code for writable
Diffstat (limited to 'Lib/asyncore.py')
-rw-r--r-- | Lib/asyncore.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 6e128b1..ba4a698 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -259,14 +259,8 @@ class dispatcher: def readable(self): return True - if os.name == 'mac': - # The macintosh will select a listening socket for - # write if you let it. What might this mean? - def writable(self): - return not self.accepting - else: - def writable(self): - return True + def writable(self): + return True # ================================================== # socket object methods. |