Mercurial > cpython-lru_cache-weakref
comparison Lib/idlelib/PyShell.py @ 42507:df4cd9297098
Fix remaining map() issues.
M idlelib/PyShell.py
M idlelib/EditorWindow.py
M idlelib/rpc.py
M idlelib/OutputWindow.py
M idlelib/RemoteObjectBrowser.py
| author | Kurt B. Kaiser <kbk@shore.net> |
|---|---|
| date | Thu, 09 Aug 2007 18:00:23 +0000 |
| parents | dd74e020a132 |
| children | 3a1572d1ff1a |
comparison
equal
deleted
inserted
replaced
| 42506:0c89409bda7a | 42507:df4cd9297098 |
|---|---|
| 1225 self.encoding = encoding | 1225 self.encoding = encoding |
| 1226 | 1226 |
| 1227 def write(self, s): | 1227 def write(self, s): |
| 1228 self.shell.write(s, self.tags) | 1228 self.shell.write(s, self.tags) |
| 1229 | 1229 |
| 1230 def writelines(self, l): | 1230 def writelines(self, lines): |
| 1231 map(self.write, l) | 1231 for line in lines: |
| 1232 self.write(line) | |
| 1232 | 1233 |
| 1233 def flush(self): | 1234 def flush(self): |
| 1234 pass | 1235 pass |
| 1235 | 1236 |
| 1236 def isatty(self): | 1237 def isatty(self): |
