New submission from Terry J. Reedy <[EMAIL PROTECTED]>: 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. ---------- assignee: georg.brandl components: Documentation keywords: easy messages: 74056 nosy: georg.brandl, tjreedy severity: normal status: open title: List.sort docstring has obsolete cmp reference. versions: Python 3.0 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3998> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com