summaryrefslogtreecommitdiffstats
path: root/Modules/clinic/_testmultiphase.c.h
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 /Modules/clinic/_testmultiphase.c.h
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 'Modules/clinic/_testmultiphase.c.h')
-rw-r--r--Modules/clinic/_testmultiphase.c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/clinic/_testmultiphase.c.h b/Modules/clinic/_testmultiphase.c.h
index 42ec747..f7b99b1 100644
--- a/Modules/clinic/_testmultiphase.c.h
+++ b/Modules/clinic/_testmultiphase.c.h
@@ -117,7 +117,7 @@ _testmultiphase_StateAccessType_increment_count_clinic(StateAccessTypeObject *se
goto skip_optional_pos;
}
if (args[0]) {
- n = _PyLong_AsInt(args[0]);
+ n = PyLong_AsInt(args[0]);
if (n == -1 && PyErr_Occurred()) {
goto exit;
}
@@ -162,4 +162,4 @@ _testmultiphase_StateAccessType_get_count(StateAccessTypeObject *self, PyTypeObj
}
return _testmultiphase_StateAccessType_get_count_impl(self, cls);
}
-/*[clinic end generated code: output=52ea97ab2f03bb6d input=a9049054013a1b77]*/
+/*[clinic end generated code: output=6f8db3983c5312a0 input=a9049054013a1b77]*/