[Python-checkins] python/dist/src/Misc NEWS,1.384,1.385

gvanrossum@sourceforge.net gvanrossum@sourceforge.net
Fri, 12 Apr 2002 17:59:07 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv22439

Modified Files:
	NEWS 
Log Message:
News for strip methods.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.384
retrieving revision 1.385
diff -C2 -d -r1.384 -r1.385
*** NEWS	12 Apr 2002 23:00:08 -0000	1.384
--- NEWS	13 Apr 2002 00:59:05 -0000	1.385
***************
*** 7,10 ****
--- 7,14 ----
  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]