summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-04-26 20:11:29 (GMT)
committerGuido van Rossum <guido@python.org>2002-04-26 20:11:29 (GMT)
commit26dd830123413207ca816377bb934a15d2e1b215 (patch)
tree9c63767756367dc19c8e91689c188ef96ff4fe5b /Misc
parent7dab2426ca0bae36fde565407ddb4b2d2cbf2575 (diff)
downloadcpython-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/NEWS6
1 files changed, 3 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d83d7b2..5f7e942 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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]