diff options
author | Raymond Hettinger <python@rcn.com> | 2004-03-08 18:17:31 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-03-08 18:17:31 +0000 |
commit | 6ec099658ab49ed6d3c2861e437fe659e1c7037f (patch) | |
tree | 2a8f9f3e3192bba966382e4a473092d1f376f3f6 /Lib/threading.py | |
parent | 73360a3e61274ffcc4c9fc3d09746bd6603e92a5 (diff) | |
download | cpython-git-6ec099658ab49ed6d3c2861e437fe659e1c7037f.tar.gz |
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.
Diffstat (limited to 'Lib/threading.py')
0 files changed, 0 insertions, 0 deletions