summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-08-03 18:42:40 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2015-08-03 18:42:40 -0400
commit536aec917064ffa9c0d72d7f21f32817c9ee0f1f (patch)
treef87ed27c339b31a968049dfc0bfecf2c031907fa
parent55b88700d29d00c991307038c6b7ec52b26680ae (diff)
parent8b5a18f5ed1093432e9331f6ccb7237a79239ade (diff)
downloadcpython-git-536aec917064ffa9c0d72d7f21f32817c9ee0f1f.tar.gz
Merge
-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 4f7a6de5ea..3869d45eaf 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