diff options
author | Raymond Hettinger <python@rcn.com> | 2003-07-09 18:48:24 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-07-09 18:48:24 +0000 |
commit | 931237e2e66975c54e2ac6c5e503ee2992a22bcf (patch) | |
tree | e5b750f23a7b670cbcc58930c70e7324725afd2f /Lib/idlelib/Percolator.py | |
parent | a4d2b869b9d582abcad178d930374a26a6e743fb (diff) | |
download | cpython-git-931237e2e66975c54e2ac6c5e503ee2992a22bcf.tar.gz |
SF patch #768187: replace apply(f, args, kwds) with f(*args, **kwds)
Diffstat (limited to 'Lib/idlelib/Percolator.py')
-rw-r--r-- | Lib/idlelib/Percolator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/Percolator.py b/Lib/idlelib/Percolator.py index 5682111137..ebbcba9e6a 100644 --- a/Lib/idlelib/Percolator.py +++ b/Lib/idlelib/Percolator.py @@ -59,10 +59,10 @@ def main(): Delegator.__init__(self, None) def insert(self, *args): print self.name, ": insert", args - apply(self.delegate.insert, args) + self.delegate.insert(*args) def delete(self, *args): print self.name, ": delete", args - apply(self.delegate.delete, args) + self.delegate.delete(*args) root = Tk() root.wm_protocol("WM_DELETE_WINDOW", root.quit) text = Text() |