summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/dialog.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-25 10:49:11 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-25 10:49:11 (GMT)
commit159e5359d95a007865fd5367c398aaa1fb00828c (patch)
treee392245127adc0563d793600a6f26fb22ee7897f /Lib/tkinter/dialog.py
parent81e7f94076afb3e2c980d8f563f522ad22a6c308 (diff)
downloadcpython-159e5359d95a007865fd5367c398aaa1fb00828c.zip
cpython-159e5359d95a007865fd5367c398aaa1fb00828c.tar.gz
cpython-159e5359d95a007865fd5367c398aaa1fb00828c.tar.bz2
Remove outdated TkVersion checks.
Minimal supported Tcl/Tk version is 8.4, and this is checked in _tkinter.c.
Diffstat (limited to 'Lib/tkinter/dialog.py')
-rw-r--r--Lib/tkinter/dialog.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/tkinter/dialog.py b/Lib/tkinter/dialog.py
index be085ab..f61c5f7 100644
--- a/Lib/tkinter/dialog.py
+++ b/Lib/tkinter/dialog.py
@@ -3,10 +3,7 @@
from tkinter import *
from tkinter import _cnfmerge
-if TkVersion <= 3.6:
- DIALOG_ICON = 'warning'
-else:
- DIALOG_ICON = 'questhead'
+DIALOG_ICON = 'questhead'
class Dialog(Widget):