summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-06-14 00:50:42 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-06-14 00:50:42 (GMT)
commit1f68fc7fa5048e0576ff26436012765f4a8fa3d4 (patch)
tree2a6269c89b5d90689c29a3aa94f80db58791d1f0 /Misc
parent585775bf118ea8c3450ceaf1fa849140eabf8bd7 (diff)
downloadcpython-1f68fc7fa5048e0576ff26436012765f4a8fa3d4.zip
cpython-1f68fc7fa5048e0576ff26436012765f4a8fa3d4.tar.gz
cpython-1f68fc7fa5048e0576ff26436012765f4a8fa3d4.tar.bz2
SF bug # 493951 string.{starts,ends}with vs slices
Handle negative indices similar to slices.
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 383614f..4a949f4 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -6,6 +6,9 @@ Type/class unification and new-style classes
Core and builtins
+- Fixed string.startswith and string.endswith builtin methods
+ so they accept negative indices. [SF bug 493951]
+
- Fixed a bug with a continue inside a try block and a yield in the
finally clause. [SF bug 567538]