From: Guido van Rossum Date: Sat, 13 Apr 2002 00:59:05 +0000 (+0000) Subject: News for strip methods. X-Git-Tag: v2.3c1~5986 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=49042041589dbebc1265bb878e6f00e5e1e9ef15;p=thirdparty%2FPython%2Fcpython.git News for strip methods. --- diff --git a/Misc/NEWS b/Misc/NEWS index 62a482860769..d3ed145ac2d0 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]