Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bfbc18d

Browse files
committed
Remove redundant assignment l = [] from poll3() -- copy-and-paste
error.
1 parent f3b9430 commit bfbc18d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Lib/asyncore.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ def poll3 (timeout=0.0, map=None):
146146
timeout = int(timeout*1000)
147147
pollster = select.poll()
148148
if map:
149-
l = []
150149
for fd, obj in map.items():
151150
flags = 0
152151
if obj.readable():

0 commit comments

Comments
 (0)