]> granicus.if.org Git - python/commitdiff
Remove redundant assignment l = [] from poll3() -- copy-and-paste
authorGuido van Rossum <guido@python.org>
Mon, 13 Aug 2001 15:21:55 +0000 (15:21 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 13 Aug 2001 15:21:55 +0000 (15:21 +0000)
error.

Lib/asyncore.py

index ec769dbe7e23fa6a31467aaa291f1e8bb155fd84..87613652881764e0de61f2b4c2722bf58464fd51 100644 (file)
@@ -146,7 +146,6 @@ def poll3 (timeout=0.0, map=None):
     timeout = int(timeout*1000)
     pollster = select.poll()
     if map:
-        l = []
         for fd, obj in map.items():
             flags = 0
             if obj.readable():