diff options
author | Guido van Rossum <guido@python.org> | 2002-04-26 20:11:29 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-04-26 20:11:29 (GMT) |
commit | 26dd830123413207ca816377bb934a15d2e1b215 (patch) | |
tree | 9c63767756367dc19c8e91689c188ef96ff4fe5b /Misc | |
parent | 7dab2426ca0bae36fde565407ddb4b2d2cbf2575 (diff) | |
download | cpython-26dd830123413207ca816377bb934a15d2e1b215.zip cpython-26dd830123413207ca816377bb934a15d2e1b215.tar.gz cpython-26dd830123413207ca816377bb934a15d2e1b215.tar.bz2 |
Clarify that the strip changes also apply to Unicode.
Diffstat (limited to 'Misc')
-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] |