summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-06-09 18:45:48 (GMT)
committerGeorg Brandl <georg@python.org>2006-06-09 18:45:48 (GMT)
commit242508160eb6520cca0f7a831449987f3ea1fba0 (patch)
tree0f75dd6fcef4bf7627c07df3fd21eeb746cdc271 /Misc
parent932f5afbe8567047c74496662170c0e370416ec3 (diff)
downloadcpython-242508160eb6520cca0f7a831449987f3ea1fba0.zip
cpython-242508160eb6520cca0f7a831449987f3ea1fba0.tar.gz
cpython-242508160eb6520cca0f7a831449987f3ea1fba0.tar.bz2
RFE #1491485: str/unicode.endswith()/startswith() now accept a tuple as first argument.
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 2fb9256..3bd732e 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.5 beta 1?
Core and builtins
-----------------
+- The string and unicode methods startswith() and endswith() now accept
+ a tuple of prefixes/suffixes to look for. Implements RFE #1491485.
+
- Buffer objects, at the C level, never used the char buffer
implementation even when the char buffer for the wrapped object was
explicitly requested (originally returned the read or write buffer).