summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-09-22 04:44:21 (GMT)
committerBarry Warsaw <barry@python.org>2001-09-22 04:44:21 (GMT)
commit58b072d53f48081111f6b6dd8ab1bea0d02eb459 (patch)
treecb6bb4f2762fed2cda3c4390daf9b49f648ac4c9 /Misc
parent3e8be722d9dba6c118443b46d508f394612e5f7d (diff)
downloadcpython-58b072d53f48081111f6b6dd8ab1bea0d02eb459.zip
cpython-58b072d53f48081111f6b6dd8ab1bea0d02eb459.tar.gz
cpython-58b072d53f48081111f6b6dd8ab1bea0d02eb459.tar.bz2
{String,cString}IO.StringIO's support iteration.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 93555e6..47cf1f1 100644
--- 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().