summaryrefslogtreecommitdiff
path: root/Lib/threading.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-03-08 18:22:35 +0000
committerRaymond Hettinger <python@rcn.com>2004-03-08 18:22:35 +0000
commit3e47f65e28e0350ebf5de83242fdc4099f69a60d (patch)
tree70ec1f984501795e64e7f04b255376b0f045c8e7 /Lib/threading.py
parent6ec099658ab49ed6d3c2861e437fe659e1c7037f (diff)
downloadcpython-git-3e47f65e28e0350ebf5de83242fdc4099f69a60d.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