summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2003-05-18 03:15:10 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2003-05-18 03:15:10 (GMT)
commit9e46abed5061729915ed39d7bb8c4d014369380e (patch)
treecffba6082397e0470ed2d2e90fd5babf9b654289 /Misc
parentdf0d87a922ea29f7a410e8b634ae8730caa4438e (diff)
downloadcpython-9e46abed5061729915ed39d7bb8c4d014369380e.zip
cpython-9e46abed5061729915ed39d7bb8c4d014369380e.tar.gz
cpython-9e46abed5061729915ed39d7bb8c4d014369380e.tar.bz2
Fix array.array.insert(), so that it treats negative indices as
being relative to the end of the array, just like list.insert() does. This closes SF bug #739313.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 02f845d..3a819b8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -26,6 +26,9 @@ Core and builtins
Extension modules
-----------------
+- array.array.insert() now treats negative indices as being relative
+ to the end of the array, just like list.insert() does. (SF bug #739313)
+
- The datetime module classes datetime, time, and timedelta are now
properly subclassable.