Fix a couple broken append() calls, spotted by Tim.
diff --git a/Lib/asyncore.py b/Lib/asyncore.py
index 8e11d76..e731784 100644
--- a/Lib/asyncore.py
+++ b/Lib/asyncore.py
@@ -102,7 +102,7 @@
if s.writable():
flags = flags | poll.POLLOUT
if flags:
- l.append (fd, flags)
+ l.append ((fd, flags))
r = poll.poll (l, timeout)
for fd, flags in r:
s = fd_map[fd]
@@ -394,11 +394,11 @@
t,v,tb = sys.exc_info()
tbinfo = []
while 1:
- tbinfo.append (
+ tbinfo.append ((
tb.tb_frame.f_code.co_filename,
- tb.tb_frame.f_code.co_name,
+ tb.tb_frame.f_code.co_name,
str(tb.tb_lineno)
- )
+ ))
tb = tb.tb_next
if not tb:
break