diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-09-11 15:11:27 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-09-11 15:11:27 +0000 |
commit | 1efbe425f5c8b822c2b65e7d8041c0197941f97a (patch) | |
tree | 00f801992730847ebd92f6de2bfdfb63861b2e73 /Lib/asyncore.py | |
parent | 3ae572662521d3c74658f3039b68c8daa02f4fe3 (diff) | |
download | cpython-git-1efbe425f5c8b822c2b65e7d8041c0197941f97a.tar.gz |
Patch #460554: Properly test for tuples.
Diffstat (limited to 'Lib/asyncore.py')
-rw-r--r-- | Lib/asyncore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py index fb30d0e1d0..f221d4c18e 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) |