cpython/Misc/NEWS.d/next/C API/2023-08-24-20-08-02.gh-issu...

5 lines
274 B
ReStructuredText

Add :c:func:`PyLong_AsInt` function: similar to :c:func:`PyLong_AsLong`, but
store the result in a C :c:expr:`int` instead of a C :c:expr:`long`.
Previously, it was known as the private function :c:func:`!_PyLong_AsInt`
(with an underscore prefix). Patch by Victor Stinner.