Convert a pile of obvious "yes/no" functions to return bool.
diff --git a/Lib/asyncore.py b/Lib/asyncore.py
index 6bbfbab..c7a8f12 100644
--- a/Lib/asyncore.py
+++ b/Lib/asyncore.py
@@ -281,7 +281,7 @@
# ==================================================
def readable (self):
- return 1
+ return True
if os.name == 'mac':
# The macintosh will select a listening socket for
@@ -290,7 +290,7 @@
return not self.accepting
else:
def writable (self):
- return 1
+ return True
# ==================================================
# socket object methods.