diff options
author | Raymond Hettinger <python@rcn.com> | 2003-04-06 09:01:11 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-04-06 09:01:11 (GMT) |
commit | ff41c48a77b7d1411ce97190c8b8405bdaa261e1 (patch) | |
tree | 94763135f421e0c32c6356e083c4d3521e43cd67 /Lib/lib-tk/Dialog.py | |
parent | 50c61d5a6c2c551b31270d78b9e53ccef3fdf7a8 (diff) | |
download | cpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.zip cpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.tar.gz cpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.tar.bz2 |
SF patch #701494: more apply removals
Diffstat (limited to 'Lib/lib-tk/Dialog.py')
-rw-r--r-- | Lib/lib-tk/Dialog.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/lib-tk/Dialog.py b/Lib/lib-tk/Dialog.py index e529001..b52e5b4 100644 --- a/Lib/lib-tk/Dialog.py +++ b/Lib/lib-tk/Dialog.py @@ -15,11 +15,11 @@ class Dialog(Widget): self.widgetName = '__dialog__' Widget._setup(self, master, cnf) self.num = self.tk.getint( - apply(self.tk.call, - ('tk_dialog', self._w, - cnf['title'], cnf['text'], - cnf['bitmap'], cnf['default']) - + cnf['strings'])) + self.tk.call( + 'tk_dialog', self._w, + cnf['title'], cnf['text'], + cnf['bitmap'], cnf['default'], + *cnf['strings'])) try: Widget.destroy(self) except TclError: pass def destroy(self): pass |