Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d6dabe0

Browse files
committed
Merge
2 parents f3d9c31 + f71a79c commit d6dabe0

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

Lib/idlelib/PyShell.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@
2323
"Your Python may not be configured for Tk. **", file=sys.__stderr__)
2424
sys.exit(1)
2525
import tkinter.messagebox as tkMessageBox
26-
try:
27-
from tkinter import ttk
28-
except:
29-
root = Tk()
30-
root.withdraw()
31-
tkMessageBox.showerror("Idle Cannot Start",
32-
"Idle now requires the tkinter.ttk module from tcl/tk 8.5+.\n"
33-
+ "It found tk %s and no ttk." % TkVersion,
34-
parent=root)
35-
sys.exit(1)
3626

3727
from idlelib.EditorWindow import EditorWindow, fixwordbreaks
3828
from idlelib.FileList import FileList

0 commit comments

Comments
 (0)