diff options
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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] |