mirror of
https://github.com/python/cpython
synced 2026-09-29 09:55:31 +03:00
gh-108444: Add PyLong_AsInt() public function (#108445)
* Rename _PyLong_AsInt() to PyLong_AsInt(). * Add documentation. * Add test. * For now, keep _PyLong_AsInt() as an alias to PyLong_AsInt().
This commit is contained in:
parent
feb9a49c9c
commit
be436e08b8
13 changed files with 96 additions and 3 deletions
1
Doc/data/stable_abi.dat
generated
1
Doc/data/stable_abi.dat
generated
|
|
@ -347,6 +347,7 @@ var,PyList_Type,3.2,,
|
|||
type,PyLongObject,3.2,,opaque
|
||||
var,PyLongRangeIter_Type,3.2,,
|
||||
function,PyLong_AsDouble,3.2,,
|
||||
function,PyLong_AsInt,3.13,,
|
||||
function,PyLong_AsLong,3.2,,
|
||||
function,PyLong_AsLongAndOverflow,3.2,,
|
||||
function,PyLong_AsLongLong,3.2,,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue