diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-03-12 08:10:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-12 08:10:47 (GMT) |
commit | 202fda55c2dffe27125703225e5af92254602dc6 (patch) | |
tree | afc430d7fa6bdda7251bb60703ff192b9c8a37e1 /Objects/listobject.c | |
parent | 0767ad40bfe83525d2ba290cc6eb7c97ce01cdd6 (diff) | |
download | cpython-202fda55c2dffe27125703225e5af92254602dc6.zip cpython-202fda55c2dffe27125703225e5af92254602dc6.tar.gz cpython-202fda55c2dffe27125703225e5af92254602dc6.tar.bz2 |
bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485)
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r-- | Objects/listobject.c | 4 |
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; |