Allow list sort's comparison function to explicitly be None. See SF patch

661092.
This commit is contained in:
Skip Montanaro 2003-01-02 20:51:08 +00:00
parent fe8496ca03
commit 4abd5f0fce
4 changed files with 34 additions and 6 deletions

View file

@ -12,6 +12,10 @@ What's New in Python 2.3 alpha 2?
Core and builtins
-----------------
- List objects' sort() method now accepts None as the comparison function.
Passing None is semantically identical to calling sort() with no
arguments.
Extension modules
-----------------