From 159e5359d95a007865fd5367c398aaa1fb00828c Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Mon, 25 Apr 2016 13:49:11 +0300 Subject: Remove outdated TkVersion checks. Minimal supported Tcl/Tk version is 8.4, and this is checked in _tkinter.c. --- Lib/tkinter/__init__.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'Lib/tkinter/__init__.py') diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py index 5272b3095a..3f242acf78 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. -- cgit v1.2.1