commit | 3e47f65e28e0350ebf5de83242fdc4099f69a60d | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Mon Mar 08 18:22:35 2004 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Mon Mar 08 18:22:35 2004 +0000 |
tree | 70ec1f984501795e64e7f04b255376b0f045c8e7 | |
parent | 6ec099658ab49ed6d3c2861e437fe659e1c7037f [diff] |
SF patch #907403: Improvements to cStringIO.writelines() The writelines() method now accepts any iterable argument and writes the lines one at a time rather than using ''.join(lines) followed by a single write. Results in considerable memory savings and makes the method suitable for use with generator expressions.