summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-09-23 04:06:05 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-09-23 04:06:05 (GMT)
commit2c9aa5ea8d13de7372c8c8587e96479223ea420d (patch)
treee3ab72cc929aff0178995f45de321404ed0984aa /Misc
parentd31db7e939db2f291eda86fedc64e8f4c51bb47a (diff)
downloadcpython-2c9aa5ea8d13de7372c8c8587e96479223ea420d.zip
cpython-2c9aa5ea8d13de7372c8c8587e96479223ea420d.tar.gz
cpython-2c9aa5ea8d13de7372c8c8587e96479223ea420d.tar.bz2
Generalize file.writelines() to allow iterable objects.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index cf8e3fc..9a58c38 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -3,6 +3,8 @@ What's New in Python 2.2a4?
Core
+- file.writelines() now accepts any iterable object producing strings.
+
- PyUnicode_FromEncodedObject() now works very much like
PyObject_Str(obj) in that it tries to use __str__/tp_str
on the object if the object is not a string or buffer. This