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
commit68468eba635570400f607e140425a222018e56f9 (patch)
tree2176c8822392383a88caa0a2209a1d2f3446d45c /Lib/telnetlib.py
parentf389c7727362321a91dbaff13b7e1cef6cbaa3d8 (diff)
downloadcpython-git-68468eba635570400f607e140425a222018e56f9.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()