diff options
author | Guido van Rossum <guido@python.org> | 2002-04-13 00:59:05 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-04-13 00:59:05 (GMT) |
commit | 49042041589dbebc1265bb878e6f00e5e1e9ef15 (patch) | |
tree | c7721f4b6e9552ea19479ea376508bfd1622b332 /Misc | |
parent | 018b0eb0f50a6995922402d87cf9906b62a50252 (diff) | |
download | cpython-49042041589dbebc1265bb878e6f00e5e1e9ef15.zip cpython-49042041589dbebc1265bb878e6f00e5e1e9ef15.tar.gz cpython-49042041589dbebc1265bb878e6f00e5e1e9ef15.tar.bz2 |
News for strip methods.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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] |