From: Guido van Rossum Date: Fri, 26 Apr 2002 20:11:29 +0000 (+0000) Subject: Clarify that the strip changes also apply to Unicode. X-Git-Tag: v2.3c1~5784 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=26dd830123413207ca816377bb934a15d2e1b215;p=thirdparty%2FPython%2Fcpython.git Clarify that the strip changes also apply to Unicode. --- diff --git a/Misc/NEWS b/Misc/NEWS index d83d7b29f879..5f7e942ea75e 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -22,9 +22,9 @@ Core and builtins these make no sense. Since this was documented, they're being deprecated now. -- String methods lstrip(), rstrip() and strip() now take an optional - argument that specifies the characters to strip. For example, - "Foo!!!?!?!?".rstrip("?!") -> "Foo". +- String and unicode 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]