]> granicus.if.org Git - python/commitdiff
{String,cString}IO.StringIO's support iteration.
authorBarry Warsaw <barry@python.org>
Sat, 22 Sep 2001 04:44:21 +0000 (04:44 +0000)
committerBarry Warsaw <barry@python.org>
Sat, 22 Sep 2001 04:44:21 +0000 (04:44 +0000)
Misc/NEWS

index 93555e6fada7761523a0259c27aae2c85507952a..47cf1f1d669c5e374b3cadb2aa6a6cc03ba865a5 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -45,6 +45,10 @@ Core
 
 Library
 
+- StringIO.StringIO instances and cStringIO.StringIO instances support
+  iteration just like file objects (i.e. their .readline() method is
+  called for each iteration until it returns an empty string).
+
 - The codecs module has grown four new helper APIs to access
   builtin codecs: getencoder(), getdecoder(), getreader(),
   getwriter().