mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix remaining map() issues.
M idlelib/PyShell.py M idlelib/EditorWindow.py M idlelib/rpc.py M idlelib/OutputWindow.py M idlelib/RemoteObjectBrowser.py
This commit is contained in:
parent
60455b22de
commit
66aaf74e52
5 changed files with 9 additions and 8 deletions
|
@ -288,7 +288,7 @@ class SocketIO(object):
|
|||
if isinstance(obj, RemoteProxy):
|
||||
return RPCProxy(self, obj.oid)
|
||||
if isinstance(obj, list):
|
||||
return map(self._proxify, obj)
|
||||
return list(map(self._proxify, obj))
|
||||
# XXX Check for other types -- not currently needed
|
||||
return obj
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue