mirror of
https://github.com/python/cpython.git
synced 2025-09-24 01:13:22 +00:00
Issue #24759: Merge with 3.4
This commit is contained in:
commit
f71a79cb72
1 changed files with 0 additions and 10 deletions
|
@ -23,16 +23,6 @@ except ImportError:
|
||||||
"Your Python may not be configured for Tk. **", file=sys.__stderr__)
|
"Your Python may not be configured for Tk. **", file=sys.__stderr__)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
import tkinter.messagebox as tkMessageBox
|
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.EditorWindow import EditorWindow, fixwordbreaks
|
||||||
from idlelib.FileList import FileList
|
from idlelib.FileList import FileList
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue