diff options
| author | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-01 13:10:02 +0000 |
|---|---|---|
| committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-01 13:10:02 +0000 |
| commit | 06fc9dd342c788d4a3623f46add3049054fe53f1 (patch) | |
| tree | e9e9ba512a2e064bf796eb35648abbb74b70ff10 /Demo | |
| parent | 1e7eb05a13006e1eceb6713ecc91390d539126a8 (diff) | |
| download | cpython-git-06fc9dd342c788d4a3623f46add3049054fe53f1.tar.gz | |
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 68cf56ecf1..6e570d783f 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 |
