diff options
author | Raymond Hettinger <python@rcn.com> | 2004-08-29 07:50:43 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-08-29 07:50:43 (GMT) |
commit | 6ab78cd0c055462af4f5a6c59b9f310a83734c45 (patch) | |
tree | e997501de3a39f1e79a77ecf559000dee5ebf5f7 /Misc/NEWS | |
parent | df7a208ff70a66f4384252d12768dbd9e7c60204 (diff) | |
download | cpython-6ab78cd0c055462af4f5a6c59b9f310a83734c45.zip cpython-6ab78cd0c055462af4f5a6c59b9f310a83734c45.tar.gz cpython-6ab78cd0c055462af4f5a6c59b9f310a83734c45.tar.bz2 |
SF feature request #992967: array.array objects should support sequences.
Made the constructor accept general iterables.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -732,8 +732,8 @@ Extension modules - array objects now support the copy module. Also, their resizing scheme has been updated to match that used for list objects. This improves the performance (speed and memory usage) of append() operations. - Also, array.extend() now accepts any iterable argument for repeated - appends without needing to create another temporary array. + Also, array.array() and array.extend() now accept any iterable argument + for repeated appends without needing to create another temporary array. - cStringIO.writelines() now accepts any iterable argument and writes the lines one at a time rather than joining them and writing once. |