diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-25 13:49:11 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-25 13:49:11 +0300 |
commit | 159e5359d95a007865fd5367c398aaa1fb00828c (patch) | |
tree | e392245127adc0563d793600a6f26fb22ee7897f /Lib/tkinter/commondialog.py | |
parent | 81e7f94076afb3e2c980d8f563f522ad22a6c308 (diff) | |
download | cpython-git-159e5359d95a007865fd5367c398aaa1fb00828c.tar.gz |
Remove outdated TkVersion checks.
Minimal supported Tcl/Tk version is 8.4, and this is checked in _tkinter.c.
Diffstat (limited to 'Lib/tkinter/commondialog.py')
-rw-r--r-- | Lib/tkinter/commondialog.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/tkinter/commondialog.py b/Lib/tkinter/commondialog.py index d2688dba9b..1e75cae689 100644 --- a/Lib/tkinter/commondialog.py +++ b/Lib/tkinter/commondialog.py @@ -15,11 +15,6 @@ class Dialog: command = None def __init__(self, master=None, **options): - - # FIXME: should this be placed on the module level instead? - if TkVersion < 4.2: - raise TclError("this module requires Tk 4.2 or newer") - self.master = master self.options = options if not master and options.get('parent'): |