summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 62a4828..d3ed145 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]