summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/__init__.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-25 10:49:11 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-25 10:49:11 (GMT)
commit159e5359d95a007865fd5367c398aaa1fb00828c (patch)
treee392245127adc0563d793600a6f26fb22ee7897f /Lib/tkinter/__init__.py
parent81e7f94076afb3e2c980d8f563f522ad22a6c308 (diff)
downloadcpython-159e5359d95a007865fd5367c398aaa1fb00828c.zip
cpython-159e5359d95a007865fd5367c398aaa1fb00828c.tar.gz
cpython-159e5359d95a007865fd5367c398aaa1fb00828c.tar.bz2
Remove outdated TkVersion checks.
Minimal supported Tcl/Tk version is 8.4, and this is checked in _tkinter.c.
Diffstat (limited to 'Lib/tkinter/__init__.py')
-rw-r--r--Lib/tkinter/__init__.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py
index 5272b30..3f242ac 100644
--- a/Lib/tkinter/__init__.py
+++ b/Lib/tkinter/__init__.py
@@ -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.