summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-06-20 08:13:02 (GMT)
committerGuido van Rossum <guido@python.org>1994-06-20 08:13:02 (GMT)
commit8d1e439b89f6152fd7fc55c4cc224c9b4aa0dab2 (patch)
tree0760106c8a7cbf27a34d810bf85729429e93a175 /Demo
parent5e8d3724fe710a2c7e6c236c09b7e4df70426cc4 (diff)
downloadcpython-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-xDemo/tkinter/guido/wish.py2
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: