summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r--Objects/listobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index b0e58bf..9c1c9d9 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -1968,14 +1968,14 @@ list.sort
*
key as keyfunc: object = None
- reverse: int(c_default="0") = False
+ reverse: bool(accept={int}) = False
Stable sort *IN PLACE*.
[clinic start generated code]*/
static PyObject *
list_sort_impl(PyListObject *self, PyObject *keyfunc, int reverse)
-/*[clinic end generated code: output=57b9f9c5e23fbe42 input=5029c13c9209d86a]*/
+/*[clinic end generated code: output=57b9f9c5e23fbe42 input=b0fcf743982c5b90]*/
{
MergeState ms;
Py_ssize_t nremaining;