diff options
| author | Georg Brandl <georg@python.org> | 2010-08-02 23:30:09 (GMT) |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-08-02 23:30:09 (GMT) |
| commit | 0db85e5d46d0c0e57377c0bdbfdccb91eb36ec64 (patch) | |
| tree | db1be0ea08df48f2b46af255e528bed14f2964d3 /Demo/tkinter/guido/AttrDialog.py | |
| parent | 36f72d339698b651b944fc1ed227a57ecc81bd5e (diff) | |
| download | cpython-0db85e5d46d0c0e57377c0bdbfdccb91eb36ec64.zip cpython-0db85e5d46d0c0e57377c0bdbfdccb91eb36ec64.tar.gz cpython-0db85e5d46d0c0e57377c0bdbfdccb91eb36ec64.tar.bz2 | |
Fix-up some tkinter demos.
Diffstat (limited to 'Demo/tkinter/guido/AttrDialog.py')
| -rw-r--r-- | Demo/tkinter/guido/AttrDialog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/guido/AttrDialog.py b/Demo/tkinter/guido/AttrDialog.py index 5508e3b..44d9766 100644 --- a/Demo/tkinter/guido/AttrDialog.py +++ b/Demo/tkinter/guido/AttrDialog.py @@ -120,7 +120,7 @@ class Dialog: cl = self.classes[c] except KeyError: cl = 'unknown' - if type(cl) == TupleType: + if type(cl) == tuple: cl = self.enumoption elif cl == 'boolean': cl = self.booleanoption |
