Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
712d53f0
Commit
712d53f0
authored
Jan 30, 2011
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#11069: fix the IDLE Stack Viewer, by not using "list" as a variable name.
Original patch by Brian Curtin, reviewed by me.
parent
82b5b0cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Lib/idlelib/RemoteObjectBrowser.py
Lib/idlelib/RemoteObjectBrowser.py
+4
-4
No files found.
Lib/idlelib/RemoteObjectBrowser.py
View file @
712d53f0
...
...
@@ -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
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment