summaryrefslogtreecommitdiffstats
path: root/Demo/tkinter/guido/AttrDialog.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/tkinter/guido/AttrDialog.py')
-rw-r--r--Demo/tkinter/guido/AttrDialog.py2
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