commit | 49042041589dbebc1265bb878e6f00e5e1e9ef15 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Apr 13 00:59:05 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Apr 13 00:59:05 2002 +0000 |
tree | c7721f4b6e9552ea19479ea376508bfd1622b332 | |
parent | 018b0eb0f50a6995922402d87cf9906b62a50252 [diff] |
News for strip methods.
diff --git a/Misc/NEWS b/Misc/NEWS index 62a4828..d3ed145 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -6,6 +6,10 @@ Core and builtins +- String methods lstrip(), rstrip() and strip() now take an optional + argument that specifies the characters to strip. For example, + "Foo!!!?!?!?".rstrip("?!") -> "Foo". + - Added a new dict method pop(key). This removes and returns the value corresponding to key. [SF patch #539949]