summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-13 15:21:55 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-13 15:21:55 (GMT)
commitbfbc18dbf93d0575bf1d7857625dd056638d95a3 (patch)
tree07bd6d48d32f32e2100e222ba3a36dab2f0aadf5
parentf3b9430fd1e680177ed8b41625df24aac87278fa (diff)
downloadcpython-bfbc18dbf93d0575bf1d7857625dd056638d95a3.zip
cpython-bfbc18dbf93d0575bf1d7857625dd056638d95a3.tar.gz
cpython-bfbc18dbf93d0575bf1d7857625dd056638d95a3.tar.bz2
Remove redundant assignment l = [] from poll3() -- copy-and-paste
error.
-rw-r--r--Lib/asyncore.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py
index ec769db..8761365 100644
--- a/Lib/asyncore.py
+++ b/Lib/asyncore.py
@@ -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():