• Raymond Hettinger's avatar
    SF patch #907403: Improvements to cStringIO.writelines() · 3e47f65e
    Raymond Hettinger authored
    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.
    3e47f65e
NEWS 172 KB