[Python-checkins] python/dist/src/Misc NEWS,1.591,1.592
montanaro@users.sourceforge.net
montanaro@users.sourceforge.net
Thu, 02 Jan 2003 12:51:10 -0800
- Previous message: [Python-checkins] python/nondist/sandbox/twister Makefile,1.2,NONE NEWS,1.2,NONE _random.c,1.26,NONE librandom.tex,1.6,NONE random.py,1.10,NONE setup.py,1.2,NONE test_random.py,1.13,NONE
- Next message: [Python-checkins] python/dist/src/Objects listobject.c,2.144,2.145
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv5845/Misc
Modified Files:
NEWS
Log Message:
Allow list sort's comparison function to explicitly be None. See SF patch
661092.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.591
retrieving revision 1.592
diff -C2 -d -r1.591 -r1.592
*** NEWS 2 Jan 2003 19:35:54 -0000 1.591
--- NEWS 2 Jan 2003 20:51:05 -0000 1.592
***************
*** 13,16 ****
--- 13,20 ----
-----------------
+ - List objects' sort() method now accepts None as the comparison function.
+ Passing None is semantically identical to calling sort() with no
+ arguments.
+
Extension modules
-----------------
- Previous message: [Python-checkins] python/nondist/sandbox/twister Makefile,1.2,NONE NEWS,1.2,NONE _random.c,1.26,NONE librandom.tex,1.6,NONE random.py,1.10,NONE setup.py,1.2,NONE test_random.py,1.13,NONE
- Next message: [Python-checkins] python/dist/src/Objects listobject.c,2.144,2.145
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]