commit | 2c9aa5ea8d13de7372c8c8587e96479223ea420d | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sun Sep 23 04:06:05 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sun Sep 23 04:06:05 2001 +0000 |
tree | e3ab72cc929aff0178995f45de321404ed0984aa | |
parent | d31db7e939db2f291eda86fedc64e8f4c51bb47a [diff] [blame] |
Generalize file.writelines() to allow iterable objects.
diff --git a/Misc/NEWS b/Misc/NEWS index cf8e3fc..9a58c38 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -3,6 +3,8 @@ 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