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

News for strip methods.

üst 018b0eb0
......@@ -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]
......
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