diff options
author | Guido van Rossum <guido@python.org> | 2003-02-27 20:14:51 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-02-27 20:14:51 +0000 |
commit | 68468eba635570400f607e140425a222018e56f9 (patch) | |
tree | 2176c8822392383a88caa0a2209a1d2f3446d45c /Lib/telnetlib.py | |
parent | f389c7727362321a91dbaff13b7e1cef6cbaa3d8 (diff) | |
download | cpython-git-68468eba635570400f607e140425a222018e56f9.tar.gz |
Get rid of many apply() calls.
Diffstat (limited to 'Lib/telnetlib.py')
-rw-r--r-- | Lib/telnetlib.py | 2 |
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() |