diff options
author | Georg Brandl <georg@python.org> | 2008-05-20 07:13:37 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-20 07:13:37 +0000 |
commit | 6634bf2919d855ccd821e878b8cc00c7209f1cbe (patch) | |
tree | 77ef2dfaaf00ec144e75ac19708e4dd457604ebc /Lib/idlelib/textView.py | |
parent | 33cece05b918dff706a4298e33f84d8e8a0391d2 (diff) | |
download | cpython-git-6634bf2919d855ccd821e878b8cc00c7209f1cbe.tar.gz |
Tkinter rename reversal: remove tkinter package, adapt imports and docs.
Diffstat (limited to 'Lib/idlelib/textView.py')
-rw-r--r-- | Lib/idlelib/textView.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/textView.py b/Lib/idlelib/textView.py index 3f3c247789..0e7e663185 100644 --- a/Lib/idlelib/textView.py +++ b/Lib/idlelib/textView.py @@ -2,8 +2,8 @@ """ -from tkinter import * -import tkinter.messagebox as tkMessageBox +from Tkinter import * +import tkMessageBox class TextViewer(Toplevel): """A simple text viewer dialog for IDLE @@ -68,7 +68,7 @@ def view_file(parent, title, filename, encoding=None): else: textFile = open(filename, 'r') except IOError: - import tkinter.messagebox as tkMessageBox + import tkMessageBox tkMessageBox.showerror(title='File Load Error', message='Unable to load file %r .' % filename, parent=parent) |