diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-09-23 04:06:05 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-09-23 04:06:05 (GMT) |
commit | 2c9aa5ea8d13de7372c8c8587e96479223ea420d (patch) | |
tree | e3ab72cc929aff0178995f45de321404ed0984aa /Misc | |
parent | d31db7e939db2f291eda86fedc64e8f4c51bb47a (diff) | |
download | cpython-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/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |