diff options
Diffstat (limited to 'Demo/tkinter')
-rwxr-xr-x | Demo/tkinter/guido/AttrDialog.py | 2 | ||||
-rwxr-xr-x | Demo/tkinter/www/Para.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Demo/tkinter/guido/AttrDialog.py b/Demo/tkinter/guido/AttrDialog.py index 32b4b7e..4878cb5 100755 --- a/Demo/tkinter/guido/AttrDialog.py +++ b/Demo/tkinter/guido/AttrDialog.py @@ -113,7 +113,7 @@ class Dialog: self.choices = {} list = [] for k, dc in self.options.items(): - list.append(k, dc) + list.append((k, dc)) list.sort() for k, (d, c) in list: try: diff --git a/Demo/tkinter/www/Para.py b/Demo/tkinter/www/Para.py index 6a7057d..e24471f 100755 --- a/Demo/tkinter/www/Para.py +++ b/Demo/tkinter/www/Para.py @@ -67,7 +67,7 @@ class Para: self.words[i] = fo, te, wi, sp, 0, as, de total = total + wi + sp if total < tab: - self.words.append(None, '', 0, tab-total, 0, as, de) + self.words.append((None, '', 0, tab-total, 0, as, de)) # # Make a hanging tag: tab to hang, increment indent_left by hang, # and reset indent_hang to -hang |