summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-24 22:51:22 (GMT)
committerGitHub <noreply@github.com>2023-08-24 22:51:22 (GMT)
commit4e5a7284eef4308dce252ca1115d4a5a5b7e6ae8 (patch)
tree31cacab08c7168e0868d6231a70b4a679fffdf58 /Objects/stringlib
parentbe800f4be78106d7566c694b3a5652761798db96 (diff)
downloadcpython-4e5a7284eef4308dce252ca1115d4a5a5b7e6ae8.zip
cpython-4e5a7284eef4308dce252ca1115d4a5a5b7e6ae8.tar.gz
cpython-4e5a7284eef4308dce252ca1115d4a5a5b7e6ae8.tar.bz2
gh-108444: Argument Clinic uses PyLong_AsInt() (#108458)
Argument Clinic now uses the new public PyLong_AsInt(), rather than the old name _PyLong_AsInt().
Diffstat (limited to 'Objects/stringlib')
-rw-r--r--Objects/stringlib/clinic/transmogrify.h.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringlib/clinic/transmogrify.h.h b/Objects/stringlib/clinic/transmogrify.h.h
index 49388cf..1e0df09 100644
--- a/Objects/stringlib/clinic/transmogrify.h.h
+++ b/Objects/stringlib/clinic/transmogrify.h.h
@@ -62,7 +62,7 @@ stringlib_expandtabs(PyObject *self, PyObject *const *args, Py_ssize_t nargs, Py
if (!noptargs) {
goto skip_optional_pos;
}
- tabsize = _PyLong_AsInt(args[0]);
+ tabsize = PyLong_AsInt(args[0]);
if (tabsize == -1 && PyErr_Occurred()) {
goto exit;
}
@@ -278,4 +278,4 @@ stringlib_zfill(PyObject *self, PyObject *arg)
exit:
return return_value;
}
-/*[clinic end generated code: output=d44a269805f6739e input=a9049054013a1b77]*/
+/*[clinic end generated code: output=00e34c03331699fe input=a9049054013a1b77]*/