summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/tkSimpleDialog.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-04-06 09:01:11 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-04-06 09:01:11 (GMT)
commitff41c48a77b7d1411ce97190c8b8405bdaa261e1 (patch)
tree94763135f421e0c32c6356e083c4d3521e43cd67 /Lib/lib-tk/tkSimpleDialog.py
parent50c61d5a6c2c551b31270d78b9e53ccef3fdf7a8 (diff)
downloadcpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.zip
cpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.tar.gz
cpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.tar.bz2
SF patch #701494: more apply removals
Diffstat (limited to 'Lib/lib-tk/tkSimpleDialog.py')
-rw-r--r--Lib/lib-tk/tkSimpleDialog.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/lib-tk/tkSimpleDialog.py b/Lib/lib-tk/tkSimpleDialog.py
index 3dac212..01709d8 100644
--- a/Lib/lib-tk/tkSimpleDialog.py
+++ b/Lib/lib-tk/tkSimpleDialog.py
@@ -249,7 +249,7 @@ def askinteger(title, prompt, **kw):
Return value is an integer
'''
- d = apply(_QueryInteger, (title, prompt), kw)
+ d = _QueryInteger(title, prompt, **kw)
return d.result
class _QueryFloat(_QueryDialog):
@@ -268,7 +268,7 @@ def askfloat(title, prompt, **kw):
Return value is a float
'''
- d = apply(_QueryFloat, (title, prompt), kw)
+ d = _QueryFloat(title, prompt, **kw)
return d.result
class _QueryString(_QueryDialog):
@@ -300,7 +300,7 @@ def askstring(title, prompt, **kw):
Return value is a string
'''
- d = apply(_QueryString, (title, prompt), kw)
+ d = _QueryString(title, prompt, **kw)
return d.result
if __name__ == "__main__":