diff options
| author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-08-03 22:35:09 (GMT) |
|---|---|---|
| committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-08-03 22:35:09 (GMT) |
| commit | 8b5a18f5ed1093432e9331f6ccb7237a79239ade (patch) | |
| tree | 4f421f763529cf7bbe77167dc50b3cf74597ac3a | |
| parent | 62f27b5b98725d7b576d9dda784fcbe15bd17063 (diff) | |
| parent | f71a79cb72dd1736daacb61dc4f388f175ee31f5 (diff) | |
| download | cpython-8b5a18f5ed1093432e9331f6ccb7237a79239ade.zip cpython-8b5a18f5ed1093432e9331f6ccb7237a79239ade.tar.gz cpython-8b5a18f5ed1093432e9331f6ccb7237a79239ade.tar.bz2 | |
Issue #24759: Merge with 3.5
| -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 |
