summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-26 20:12:37 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-26 20:12:37 (GMT)
commit91b47c64e1ca8323f01633c0e890c9d6bc3f605e (patch)
treec201409b1bdb126abd4b08bff39ec321ee1df8ed
parent599dbfca2f4a3635ea91d9b2383d39b0be64452a (diff)
downloadcpython-91b47c64e1ca8323f01633c0e890c9d6bc3f605e.zip
cpython-91b47c64e1ca8323f01633c0e890c9d6bc3f605e.tar.gz
cpython-91b47c64e1ca8323f01633c0e890c9d6bc3f605e.tar.bz2
Fix import.
-rw-r--r--Tools/pynche/pyColorChooser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/pynche/pyColorChooser.py b/Tools/pynche/pyColorChooser.py
index 9507847..3286047 100644
--- a/Tools/pynche/pyColorChooser.py
+++ b/Tools/pynche/pyColorChooser.py
@@ -31,7 +31,7 @@ class Chooser:
if dbfile != self.__databasefile:
colordb = ColorDB.get_colordb(dbfile)
if not self.__master:
- from Tkinter import Tk
+ from tkinter import Tk
self.__master = Tk()
if not self.__pw:
self.__pw, self.__sb = \
@@ -92,7 +92,7 @@ def save():
# test stuff
if __name__ == '__main__':
- from Tkinter import *
+ from tkinter import *
class Tester:
def __init__(self):