diff options
author | Guido van Rossum <guido@python.org> | 1994-06-20 08:13:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-06-20 08:13:02 (GMT) |
commit | 8d1e439b89f6152fd7fc55c4cc224c9b4aa0dab2 (patch) | |
tree | 0760106c8a7cbf27a34d810bf85729429e93a175 /Demo | |
parent | 5e8d3724fe710a2c7e6c236c09b7e4df70426cc4 (diff) | |
download | cpython-8d1e439b89f6152fd7fc55c4cc224c9b4aa0dab2.zip cpython-8d1e439b89f6152fd7fc55c4cc224c9b4aa0dab2.tar.gz cpython-8d1e439b89f6152fd7fc55c4cc224c9b4aa0dab2.tar.bz2 |
Moved tk.record() to record whole commands instead of lines
Diffstat (limited to 'Demo')
-rwxr-xr-x | Demo/tkinter/guido/wish.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/guido/wish.py b/Demo/tkinter/guido/wish.py index 16cacde..5cbb1b9 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: |