Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4624b9 commit 2341794Copy full SHA for 2341794
1 file changed
Lib/asyncore.py
@@ -102,7 +102,7 @@ def poll2 (timeout=0.0):
102
if s.writable():
103
flags = flags | poll.POLLOUT
104
if flags:
105
- l.append (fd, flags)
+ l.append ((fd, flags))
106
r = poll.poll (l, timeout)
107
for fd, flags in r:
108
s = fd_map[fd]
@@ -394,11 +394,11 @@ def compact_traceback ():
394
t,v,tb = sys.exc_info()
395
tbinfo = []
396
while 1:
397
- tbinfo.append (
+ tbinfo.append ((
398
tb.tb_frame.f_code.co_filename,
399
- tb.tb_frame.f_code.co_name,
+ tb.tb_frame.f_code.co_name,
400
str(tb.tb_lineno)
401
- )
+ ))
402
tb = tb.tb_next
403
if not tb:
404
break
0 commit comments