From 10d0f8fc40a9b4b0970ea8b14ddf4b38e67a4dcc Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 23 Oct 1995 14:36:05 +0000 Subject: Renamed module tkinter to _tkinter --- Demo/tkinter/guido/wish.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Demo/tkinter/guido/wish.py') diff --git a/Demo/tkinter/guido/wish.py b/Demo/tkinter/guido/wish.py index eec4b69530..4f6fdee903 100755 --- a/Demo/tkinter/guido/wish.py +++ b/Demo/tkinter/guido/wish.py @@ -1,9 +1,9 @@ # This is about all it requires to write a wish shell in Python! -import tkinter +import _tkinter import os -tk = tkinter.create(os.environ['DISPLAY'], 'wish', 'Tk', 1) +tk = _tkinter.create(os.environ['DISPLAY'], 'wish', 'Tk', 1) tk.call('update') cmd = '' @@ -20,7 +20,7 @@ while 1: tk.record(line) try: result = tk.call('eval', cmd) - except tkinter.TclError, msg: + except _tkinter.TclError, msg: print 'TclError:', msg else: if result: print result -- cgit v1.2.1