• Raymond Hettinger's avatar
    SF patch #907403: Improvements to cStringIO.writelines() · 6ec09965
    Raymond Hettinger yazdı
    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.
    6ec09965
cStringIO.c 19.3 KB