summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-08-03 22:41:57 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-08-03 22:41:57 (GMT)
commitd6dabe01eb7741aabc04dcd1d7d04e7802c3d590 (patch)
tree51ef71b356aa0a2ad0a724188a6711b485ed0c8d /Lib
parentf3d9c315b68841d209b399c1c513cd9030d538fe (diff)
parentf71a79cb72dd1736daacb61dc4f388f175ee31f5 (diff)
downloadcpython-d6dabe01eb7741aabc04dcd1d7d04e7802c3d590.zip
cpython-d6dabe01eb7741aabc04dcd1d7d04e7802c3d590.tar.gz
cpython-d6dabe01eb7741aabc04dcd1d7d04e7802c3d590.tar.bz2
Merge
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/idlelib/PyShell.py10
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