This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients georg.brandl, terry.reedy
Date 2008-09-29.23:05:27
SpamBayes Score 0.0027955621
Marked as misclassified No
Message-id <1222729528.45.0.803178119587.issue3998@psf.upfronthosting.co.za>
In-reply-to
Content
3.0rc1
>>> help(list.sort)
Help on method_descriptor:

sort(...)
    L.sort(key=None, reverse=False) -- stable sort *IN PLACE*;
    cmp(x, y) -> -1, 0, 1

The last line is left over from 2.x docstring.  Since cmp keyword param
is gone (so also says LibRef: "s.sort([key[, reverse]]) sort the items
of s in place") delete it.
History
Date User Action Args
2008-09-29 23:05:28terry.reedysetrecipients: + terry.reedy, georg.brandl
2008-09-29 23:05:28terry.reedysetmessageid: <1222729528.45.0.803178119587.issue3998@psf.upfronthosting.co.za>
2008-09-29 23:05:27terry.reedylinkissue3998 messages
2008-09-29 23:05:27terry.reedycreate