]> granicus.if.org Git - python/commit
The list.sort() docs require a function that returns -1, 0 or +1. That's
authorTim Peters <tim.peters@gmail.com>
Sat, 29 Sep 2001 01:08:19 +0000 (01:08 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 29 Sep 2001 01:08:19 +0000 (01:08 +0000)
commit599db7de6382179155c54dcf675b7af160df395f
tree6dca9c04296127d00d9f57075310f7cb050a72d1
parent84675acb49071977741a97d56c21967fbc520948
The list.sort() docs require a function that returns -1, 0 or +1.  That's
never been true, and in particular implies cmp() can't be used(!).  Get
closer to the truth.
Doc/lib/libstdtypes.tex