diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-01 13:07:34 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-01 13:07:34 (GMT) |
commit | 719cfc4864f4bbe941f85dae5eb4fdc403dc8400 (patch) | |
tree | 9cd222c4511195289159617217579385ae393c5f /Demo | |
parent | 29001ff2341fe10a0f97c662b31c061cfad4fb5e (diff) | |
download | cpython-719cfc4864f4bbe941f85dae5eb4fdc403dc8400.zip cpython-719cfc4864f4bbe941f85dae5eb4fdc403dc8400.tar.gz cpython-719cfc4864f4bbe941f85dae5eb4fdc403dc8400.tar.bz2 |
SF #517447, correct syntax error
Diffstat (limited to 'Demo')
-rw-r--r-- | Demo/tix/tixwidgets.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Demo/tix/tixwidgets.py b/Demo/tix/tixwidgets.py index 68cf56e..6e570d7 100644 --- a/Demo/tix/tixwidgets.py +++ b/Demo/tix/tixwidgets.py @@ -135,8 +135,7 @@ class Demo: import tkMessageBox, traceback while self.exit < 0: try: - while self.exit < 0: - self.root.tk.dooneevent(TCL_ALL_EVENTS) + self.root.tk.dooneevent(TCL_ALL_EVENTS) except SystemExit: #print 'Exit' self.exit = 1 |