diff options
author | Victor Stinner <vstinner@python.org> | 2023-08-24 22:51:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 22:51:22 (GMT) |
commit | 4e5a7284eef4308dce252ca1115d4a5a5b7e6ae8 (patch) | |
tree | 31cacab08c7168e0868d6231a70b4a679fffdf58 /Modules/clinic/_lzmamodule.c.h | |
parent | be800f4be78106d7566c694b3a5652761798db96 (diff) | |
download | cpython-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/_lzmamodule.c.h')
-rw-r--r-- | Modules/clinic/_lzmamodule.c.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/clinic/_lzmamodule.c.h b/Modules/clinic/_lzmamodule.c.h index 9b396a5..017b24f 100644 --- a/Modules/clinic/_lzmamodule.c.h +++ b/Modules/clinic/_lzmamodule.c.h @@ -241,7 +241,7 @@ _lzma_LZMADecompressor(PyTypeObject *type, PyObject *args, PyObject *kwargs) goto skip_optional_pos; } if (fastargs[0]) { - format = _PyLong_AsInt(fastargs[0]); + format = PyLong_AsInt(fastargs[0]); if (format == -1 && PyErr_Occurred()) { goto exit; } @@ -283,7 +283,7 @@ _lzma_is_check_supported(PyObject *module, PyObject *arg) PyObject *return_value = NULL; int check_id; - check_id = _PyLong_AsInt(arg); + check_id = PyLong_AsInt(arg); if (check_id == -1 && PyErr_Occurred()) { goto exit; } @@ -338,4 +338,4 @@ exit: return return_value; } -/*[clinic end generated code: output=96c1fbdada1ef232 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=aaf225a5d15d3e75 input=a9049054013a1b77]*/ |