mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +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
|
@ -29,10 +29,6 @@
|
|||
from tkinter import *
|
||||
from tkinter import _cnfmerge, _default_root
|
||||
|
||||
# WARNING - TkVersion is a limited precision floating point number
|
||||
if TkVersion < 3.999:
|
||||
raise ImportError("This version of Tix.py requires Tk 4.0 or higher")
|
||||
|
||||
import _tkinter # If this fails your Python may not be configured for Tk
|
||||
|
||||
# Some more constants (for consistency with Tkinter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue