Kaydet (Commit) 26dd8301 authored tarafından Guido van Rossum's avatar Guido van Rossum

Clarify that the strip changes also apply to Unicode.

üst 7dab2426
...@@ -22,9 +22,9 @@ Core and builtins ...@@ -22,9 +22,9 @@ Core and builtins
these make no sense. Since this was documented, they're being these make no sense. Since this was documented, they're being
deprecated now. deprecated now.
- String methods lstrip(), rstrip() and strip() now take an optional - String and unicode methods lstrip(), rstrip() and strip() now take
argument that specifies the characters to strip. For example, an optional argument that specifies the characters to strip. For
"Foo!!!?!?!?".rstrip("?!") -> "Foo". example, "Foo!!!?!?!?".rstrip("?!") -> "Foo".
- Added a new dict method pop(key). This removes and returns the - Added a new dict method pop(key). This removes and returns the
value corresponding to key. [SF patch #539949] value corresponding to key. [SF patch #539949]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment