Clarify that the strip changes also apply to Unicode.

This commit is contained in:
Guido van Rossum 2002-04-26 20:11:29 +00:00
parent 7dab2426ca
commit 26dd830123

View File

@ -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]