diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-08-03 22:34:22 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-08-03 22:34:22 (GMT) |
commit | 2f7de53993ebb3a7271f35a4160a2ac8b7a1d142 (patch) | |
tree | 56205ac2da17d0a303d9a9cf8c1ee2ce1890a311 /Lib | |
parent | 43cbbe21a7c0683b45334d9c979d612525cd1435 (diff) | |
download | cpython-2f7de53993ebb3a7271f35a4160a2ac8b7a1d142.zip cpython-2f7de53993ebb3a7271f35a4160a2ac8b7a1d142.tar.gz cpython-2f7de53993ebb3a7271f35a4160a2ac8b7a1d142.tar.bz2 |
Issue #24759: Revert 13a8782a775e.
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/idlelib/PyShell.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 4f7a6de..3869d45 100755 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -23,16 +23,6 @@ except ImportError: "Your Python may not be configured for Tk. **", file=sys.__stderr__) sys.exit(1) import tkinter.messagebox as tkMessageBox -try: - from tkinter import ttk -except: - root = Tk() - root.withdraw() - tkMessageBox.showerror("Idle Cannot Start", - "Idle now requires the tkinter.ttk module from tcl/tk 8.5+.\n" - + "It found tk %s and no ttk." % TkVersion, - parent=root) - sys.exit(1) from idlelib.EditorWindow import EditorWindow, fixwordbreaks from idlelib.FileList import FileList |