summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/Percolator.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-07-09 18:48:24 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-07-09 18:48:24 (GMT)
commit931237e2e66975c54e2ac6c5e503ee2992a22bcf (patch)
treee5b750f23a7b670cbcc58930c70e7324725afd2f /Lib/idlelib/Percolator.py
parenta4d2b869b9d582abcad178d930374a26a6e743fb (diff)
downloadcpython-931237e2e66975c54e2ac6c5e503ee2992a22bcf.zip
cpython-931237e2e66975c54e2ac6c5e503ee2992a22bcf.tar.gz
cpython-931237e2e66975c54e2ac6c5e503ee2992a22bcf.tar.bz2
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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/Percolator.py b/Lib/idlelib/Percolator.py
index 5682111..ebbcba9 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()