mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Merged revisions 88258 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88258 | georg.brandl | 2011-01-30 02:16:07 -0600 (Sun, 30 Jan 2011) | 3 lines #11069: fix the IDLE Stack Viewer, by not using "list" as a variable name. Original patch by Brian Curtin, reviewed by me. ........
This commit is contained in:
parent
7a8e21a6ec
commit
8ce0fac6c8
1 changed files with 4 additions and 4 deletions
|
@ -17,8 +17,8 @@ class WrappedObjectTreeItem:
|
|||
return value
|
||||
|
||||
def _GetSubList(self):
|
||||
list = self.__item._GetSubList()
|
||||
return list(map(remote_object_tree_item, list))
|
||||
sub_list = self.__item._GetSubList()
|
||||
return list(map(remote_object_tree_item, sub_list))
|
||||
|
||||
class StubObjectTreeItem:
|
||||
# Lives in IDLE process
|
||||
|
@ -32,5 +32,5 @@ class StubObjectTreeItem:
|
|||
return value
|
||||
|
||||
def _GetSubList(self):
|
||||
list = self.sockio.remotecall(self.oid, "_GetSubList", (), {})
|
||||
return [StubObjectTreeItem(self.sockio, oid) for oid in list]
|
||||
sub_list = self.sockio.remotecall(self.oid, "_GetSubList", (), {})
|
||||
return [StubObjectTreeItem(self.sockio, oid) for oid in sub_list]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue