summaryrefslogtreecommitdiff
path: root/Lib/telnetlib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-02-27 20:14:51 +0000
committerGuido van Rossum <guido@python.org>2003-02-27 20:14:51 +0000
commit5e10dde304be3726ca1600307486278657dfa9ab (patch)
tree1e2c70236e018ba564d3b3e4c0aa9e88afc6a433 /Lib/telnetlib.py
parent53cd6a594e3fdcbe7bf1d8260169c2eec55b069f (diff)
downloadcpython-5e10dde304be3726ca1600307486278657dfa9ab.tar.gz
Get rid of many apply() calls.
Diffstat (limited to 'Lib/telnetlib.py')
-rw-r--r--Lib/telnetlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/telnetlib.py b/Lib/telnetlib.py
index 4d038619a7..85e4c461bf 100644
--- a/Lib/telnetlib.py
+++ b/Lib/telnetlib.py
@@ -311,7 +311,7 @@ class Telnet:
s_args = s_reply
if timeout is not None:
s_args = s_args + (timeout,)
- while not self.eof and apply(select.select, s_args) == s_reply:
+ while not self.eof and select.select(*s_args) == s_reply:
i = max(0, len(self.cookedq)-n)
self.fill_rawq()
self.process_rawq()