summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/configDialog.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-10-17 05:32:20 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-10-17 05:32:20 (GMT)
commit353474fc714cc8885d237e7838d8128c3266271f (patch)
treedaeee84070c7f136dac61ba5a8c9ee484bf06763 /Lib/idlelib/configDialog.py
parentba2f07df092f7786a620bf412a749a6003412430 (diff)
parentcd567365c9f95cf005d6bb7c1da7946b68a43ab4 (diff)
downloadcpython-353474fc714cc8885d237e7838d8128c3266271f.zip
cpython-353474fc714cc8885d237e7838d8128c3266271f.tar.gz
cpython-353474fc714cc8885d237e7838d8128c3266271f.tar.bz2
Merge with 3.4: Issue #22629
Diffstat (limited to 'Lib/idlelib/configDialog.py')
-rw-r--r--Lib/idlelib/configDialog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/configDialog.py b/Lib/idlelib/configDialog.py
index cd3d5c0..938b0bc 100644
--- a/Lib/idlelib/configDialog.py
+++ b/Lib/idlelib/configDialog.py
@@ -24,7 +24,7 @@ from idlelib import macosxSupport
class ConfigDialog(Toplevel):
- def __init__(self, parent, title, _htest=False, _utest=False):
+ def __init__(self, parent, title='', _htest=False, _utest=False):
"""
_htest - bool, change box location when running htest
_utest - bool, don't wait_window when running unittest
@@ -36,7 +36,7 @@ class ConfigDialog(Toplevel):
self.wm_withdraw()
self.configure(borderwidth=5)
- self.title('IDLE Preferences')
+ self.title(title or 'IDLE Preferences')
self.geometry(
"+%d+%d" % (parent.winfo_rootx() + 20,
parent.winfo_rooty() + (30 if not _htest else 150)))