diff options
author | Georg Brandl <georg@python.org> | 2006-06-09 18:45:48 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-06-09 18:45:48 (GMT) |
commit | 242508160eb6520cca0f7a831449987f3ea1fba0 (patch) | |
tree | 0f75dd6fcef4bf7627c07df3fd21eeb746cdc271 /Misc | |
parent | 932f5afbe8567047c74496662170c0e370416ec3 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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). |