``list.sort()`` and ``builtin.sorted()`` methods: eliminate ``cmp``

This commit is contained in:
Kurt B. Kaiser 2008-02-13 14:58:05 +00:00
parent e7562c1707
commit a35d7bbdcc
1 changed files with 6 additions and 2 deletions

View File

@ -162,7 +162,8 @@ To be removed:
* ``file.xreadlines()`` method [#file-object]_ [done] * ``file.xreadlines()`` method [#file-object]_ [done]
* ``dict.setdefault()``? [15]_ [UNLIKELY] * ``dict.setdefault()``? [15]_ [UNLIKELY]
* ``dict.has_key()`` method; use ``in`` operator [done] * ``dict.has_key()`` method; use ``in`` operator [done]
* ``list.sort()`` and ``builtin.sorted()`` methods: eliminate ``cmp``
parameter [27]_ [done]
Built-in Namespace Built-in Namespace
================== ==================
@ -334,7 +335,7 @@ References
.. [23] python-3000 email ("__nonzero__ vs. __bool__") .. [23] python-3000 email ("__nonzero__ vs. __bool__")
http://mail.python.org/pipermail/python-3000/2006-November/004524.html http://mail.python.org/pipermail/python-3000/2006-November/004524.html
.. [24] python-3000 email ("Pre-peps on raise and except changes") .. [24] python-3000 email ("Pre-peps on raise and except changes")
http://mail.python.org/pipermail/python-3000/2007-February/005672.html http://mail.python.org/pipermail/python-3000/2007-February/005672.html
@ -344,6 +345,9 @@ References
.. [26] python-dev email ("Should we do away with unbound methods in Py3k?") .. [26] python-dev email ("Should we do away with unbound methods in Py3k?")
http://mail.python.org/pipermail/python-dev/2007-November/075279.html http://mail.python.org/pipermail/python-dev/2007-November/075279.html
.. [27] python-dev email ("Mutable sequence .sort() signature")
http://mail.python.org/pipermail/python-dev/2008-February/076818.html
.. [#sys-module] Python docs (sys -- System-specific parameters and functions) .. [#sys-module] Python docs (sys -- System-specific parameters and functions)
http://docs.python.org/lib/module-sys.html http://docs.python.org/lib/module-sys.html