mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +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
|
@ -1887,9 +1887,6 @@ class Tk(Misc, Wm):
|
|||
if tcl_version != _tkinter.TCL_VERSION:
|
||||
raise RuntimeError("tcl.h version (%s) doesn't match libtcl.a version (%s)" \
|
||||
% (_tkinter.TCL_VERSION, tcl_version))
|
||||
if TkVersion < 4.0:
|
||||
raise RuntimeError("Tk 4.0 or higher is required; found Tk %s"
|
||||
% str(TkVersion))
|
||||
# Create and register the tkerror and exit commands
|
||||
# We need to inline parts of _register here, _ register
|
||||
# would register differently-named commands.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue