mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +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
|
@ -817,8 +817,7 @@ class EditorWindow(object):
|
|||
"Return (width, height, x, y)"
|
||||
geom = self.top.wm_geometry()
|
||||
m = re.match(r"(\d+)x(\d+)\+(-?\d+)\+(-?\d+)", geom)
|
||||
tuple = (map(int, m.groups()))
|
||||
return tuple
|
||||
return list(map(int, m.groups()))
|
||||
|
||||
def close_event(self, event):
|
||||
self.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue