[Python-checkins] CVS: python/dist/src/Misc NEWS,1.185,1.186

Tim Peters tim_one@users.sourceforge.net
2001年6月20日 19:49:57 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv4479/python/dist/src/Misc
Modified Files:
	NEWS 
Log Message:
Teach the UNPACK_SEQUENCE opcode how to tease an iterable object into
giving up the goods.
NEEDS DOC CHANGES
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.185
retrieving revision 1.186
diff -C2 -r1.185 -r1.186
*** NEWS	2001年06月16日 05:42:57	1.185
--- NEWS	2001年06月21日 02:49:55	1.186
***************
*** 109,112 ****
--- 109,114 ----
 'x in y' and 'x not in y' (PySequence_Contains() in C API)
 operator.countOf() (PySequence_Count() in C API)
+ right-hand side of assignment statements with multiple targets, such as
+ x, y, z = some_iterable_object_returning_exactly_3_values
 
 - Accessing module attributes is significantly faster (for example,

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