summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2003-01-02 20:51:08 (GMT)
committerSkip Montanaro <skip@pobox.com>2003-01-02 20:51:08 (GMT)
commit4abd5f0fce54d32fbe01207e505047bd82ff9ca3 (patch)
tree7c94a45859968c9e92cf2c5970ee2d4071a9b7a8 /Misc
parentfe8496ca03e93b74fe007de50f0e05347a772a60 (diff)
downloadcpython-4abd5f0fce54d32fbe01207e505047bd82ff9ca3.zip
cpython-4abd5f0fce54d32fbe01207e505047bd82ff9ca3.tar.gz
cpython-4abd5f0fce54d32fbe01207e505047bd82ff9ca3.tar.bz2
Allow list sort's comparison function to explicitly be None. See SF patch
661092.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e786af5..b9c076d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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
-----------------