From: Guido van Rossum Date: Mon, 20 Jun 1994 08:13:02 +0000 (+0000) Subject: Moved tk.record() to record whole commands instead of lines X-Git-Tag: v1.1~312 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d1e439b89f6152fd7fc55c4cc224c9b4aa0dab2;p=thirdparty%2FPython%2Fcpython.git Moved tk.record() to record whole commands instead of lines --- diff --git a/Demo/tkinter/guido/wish.py b/Demo/tkinter/guido/wish.py index 16cacde13085..5cbb1b90c221 100755 --- a/Demo/tkinter/guido/wish.py +++ b/Demo/tkinter/guido/wish.py @@ -15,8 +15,8 @@ while 1: except EOFError: break cmd = cmd + (line + '\n') - tk.record(line) if tk.getboolean(tk.call('info', 'complete', cmd)): + tk.record(line) try: result = tk.call('eval', cmd) except tkinter.TclError, msg: