From 49042041589dbebc1265bb878e6f00e5e1e9ef15 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 13 Apr 2002 00:59:05 +0000 Subject: News for strip methods. --- Misc/NEWS | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Misc/NEWS b/Misc/NEWS index 62a4828..d3ed145 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -6,6 +6,10 @@ Type/class unification and new-style classes 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] -- cgit v0.12