commit | 4abd5f0fce54d32fbe01207e505047bd82ff9ca3 | [log] [tgz] |
---|---|---|
author | Skip Montanaro <skip@pobox.com> | Thu Jan 02 20:51:08 2003 +0000 |
committer | Skip Montanaro <skip@pobox.com> | Thu Jan 02 20:51:08 2003 +0000 |
tree | 7c94a45859968c9e92cf2c5970ee2d4071a9b7a8 | |
parent | fe8496ca03e93b74fe007de50f0e05347a772a60 [diff] |
Allow list sort's comparison function to explicitly be None. See SF patch 661092.
diff --git a/Misc/NEWS b/Misc/NEWS index e786af5..b9c076d 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -12,6 +12,10 @@ 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 -----------------