mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Remove outdated TkVersion checks.
Minimal supported Tcl/Tk version is 8.4, and this is checked in _tkinter.c.
This commit is contained in:
parent
81e7f94076
commit
159e5359d9
4 changed files with 1 additions and 16 deletions
|
@ -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'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue