diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2007-08-09 18:00:23 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2007-08-09 18:00:23 (GMT) |
commit | 66aaf74e52d36e455af0b771c2c02f02ab05b387 (patch) | |
tree | 647cdf8b89ca4adb9af56a50b3fb06d4418d7f3f /Lib/idlelib/OutputWindow.py | |
parent | 60455b22dee5f9d9d298af5c9a67eadcaaa088a3 (diff) | |
download | cpython-66aaf74e52d36e455af0b771c2c02f02ab05b387.zip cpython-66aaf74e52d36e455af0b771c2c02f02ab05b387.tar.gz cpython-66aaf74e52d36e455af0b771c2c02f02ab05b387.tar.bz2 |
Fix remaining map() issues.
M idlelib/PyShell.py
M idlelib/EditorWindow.py
M idlelib/rpc.py
M idlelib/OutputWindow.py
M idlelib/RemoteObjectBrowser.py
Diffstat (limited to 'Lib/idlelib/OutputWindow.py')
-rw-r--r-- | Lib/idlelib/OutputWindow.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/idlelib/OutputWindow.py b/Lib/idlelib/OutputWindow.py index 7991e18..ef155a4 100644 --- a/Lib/idlelib/OutputWindow.py +++ b/Lib/idlelib/OutputWindow.py @@ -47,8 +47,9 @@ class OutputWindow(EditorWindow): self.text.see(mark) self.text.update() - def writelines(self, l): - map(self.write, l) + def writelines(self, lines): + for line in lines: + self.write(line) def flush(self): pass |