summaryrefslogtreecommitdiffstats
path: root/Lib/asyncore.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/asyncore.py')
-rw-r--r--Lib/asyncore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py
index fb30d0e..f221d4c 100644
--- a/Lib/asyncore.py
+++ b/Lib/asyncore.py
@@ -208,7 +208,7 @@ class dispatcher:
elif self.connected:
status.append ('connected')
if self.addr:
- if self.addr == types.TupleType:
+ if type(self.addr) == types.TupleType:
status.append ('%s:%d' % self.addr)
else:
status.append (self.addr)