diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-03-07 23:40:13 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-03-07 23:40:13 (GMT) |
commit | 34d11f0670cbfb1e72af5285b36f207f22fb99d2 (patch) | |
tree | 1cf65694823451494364f01112227d23726ee9e9 /Mac/Tools | |
parent | 9de988315a3ac8b87a9881d8d2ebf38d19671442 (diff) | |
download | cpython-34d11f0670cbfb1e72af5285b36f207f22fb99d2.zip cpython-34d11f0670cbfb1e72af5285b36f207f22fb99d2.tar.gz cpython-34d11f0670cbfb1e72af5285b36f207f22fb99d2.tar.bz2 |
Fixed multi-arg appends.
Diffstat (limited to 'Mac/Tools')
-rw-r--r-- | Mac/Tools/IDE/PythonIDEMain.py | 2 | ||||
-rw-r--r-- | Mac/Tools/IDE/Wbase.py | 2 | ||||
-rw-r--r-- | Mac/Tools/twit/mactwit_browser.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Tools/IDE/PythonIDEMain.py b/Mac/Tools/IDE/PythonIDEMain.py index 69223f5..a340eef 100644 --- a/Mac/Tools/IDE/PythonIDEMain.py +++ b/Mac/Tools/IDE/PythonIDEMain.py @@ -204,7 +204,7 @@ class PythonIDE(Wapplication.Application): title = window.GetWTitle() if not title: title = "<no title>" - windows.append(title, window) + windows.append((title, window)) windows.sort() for title, window in windows: if title == "Python Interactive": # ugly but useful hack by Joe Strout diff --git a/Mac/Tools/IDE/Wbase.py b/Mac/Tools/IDE/Wbase.py index 46a8c96..e1e71b2 100644 --- a/Mac/Tools/IDE/Wbase.py +++ b/Mac/Tools/IDE/Wbase.py @@ -490,7 +490,7 @@ class HorizontalPanes(Widget): for panesize in panesizes: if current: self._gutters.append(current) - self._panesizes.append(current, current + panesize) + self._panesizes.append((current, current + panesize)) current = current + panesize self.makepanebounds() diff --git a/Mac/Tools/twit/mactwit_browser.py b/Mac/Tools/twit/mactwit_browser.py index 4c71146..a8968ca 100644 --- a/Mac/Tools/twit/mactwit_browser.py +++ b/Mac/Tools/twit/mactwit_browser.py @@ -300,7 +300,7 @@ class VarBrowser(FrameWork.DialogWindow): self.scroll(-1) point = (0, 0) ok, point = self.lists[0].list.LGetSelect(1, point) - self.leftover.append(point, self.lists[0].content, self.lists[0].title, self.lists[0].active) + self.leftover.append((point, self.lists[0].content, self.lists[0].title, self.lists[0].active)) for i in range(len(self.lists)-1): point = (0, 0) ok, point = self.lists[i+1].list.LGetSelect(1, point) @@ -331,7 +331,7 @@ class VarBrowser(FrameWork.DialogWindow): if self.lists[-1].content <> None: point = (0, 0) ok, point = self.lists[-1].list.LGetSelect(1, point) - self.rightover.append(point, self.lists[-1].content, self.lists[-1].title, self.lists[-1].active ) + self.rightover.append((point, self.lists[-1].content, self.lists[-1].title, self.lists[-1].active )) for i in range(len(self.lists)-1, 0, -1): point = (0, 0) ok, point = self.lists[i-1].list.LGetSelect(1, point) |