mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fixed multi-arg appends.
This commit is contained in:
parent
9de988315a
commit
34d11f0670
12 changed files with 15 additions and 14 deletions
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue