summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 34befe8..d31e09d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -192,6 +192,10 @@ Build
C API
+- Added new macro PySequence_ITEM(o, i) that directly calls
+ sq_item without rechecking that o is a sequence and without
+ adjusting for negative indices.
+
- PyRange_New() now raises ValueError if the fourth argument is not 1.
This is part of the removal of deprecated features of the xrange
object.