[Python-checkins] python/dist/src/Misc NEWS,1.396,1.397

gvanrossum@sourceforge.net gvanrossum@sourceforge.net
2002年4月26日 13:11:33 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv657
Modified Files:
	NEWS 
Log Message:
Clarify that the strip changes also apply to Unicode.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.396
retrieving revision 1.397
diff -C2 -d -r1.396 -r1.397
*** NEWS	26 Apr 2002 19:40:49 -0000	1.396
--- NEWS	26 Apr 2002 20:11:29 -0000	1.397
***************
*** 23,29 ****
 deprecated now.
 
! - 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
--- 23,29 ----
 deprecated now.
 
! - 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

AltStyle によって変換されたページ (->オリジナル) /