summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/PyShell.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2007-08-09 18:00:23 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2007-08-09 18:00:23 (GMT)
commit66aaf74e52d36e455af0b771c2c02f02ab05b387 (patch)
tree647cdf8b89ca4adb9af56a50b3fb06d4418d7f3f /Lib/idlelib/PyShell.py
parent60455b22dee5f9d9d298af5c9a67eadcaaa088a3 (diff)
downloadcpython-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/PyShell.py')
-rw-r--r--Lib/idlelib/PyShell.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index 70c36fc..f8c73ee 100644
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -1227,8 +1227,9 @@ class PseudoFile(object):
def write(self, s):
self.shell.write(s, self.tags)
- def writelines(self, l):
- map(self.write, l)
+ def writelines(self, lines):
+ for line in lines:
+ self.write(line)
def flush(self):
pass