mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-42161: Remove private _PyLong_Zero and _PyLong_One (GH-23003)
Use PyLong_FromLong(0) and PyLong_FromLong(1) of the public C API instead. For Python internals, _PyLong_GetZero() and _PyLong_GetOne() of pycore_long.h can be used.
This commit is contained in:
parent
0564aafb71
commit
c310185c08
3 changed files with 0 additions and 23 deletions
|
@ -154,8 +154,6 @@ Objects/bytesobject.c:nullstring static PyBytesO
|
|||
Objects/codeobject.c:PyCode_NewEmpty():nulltuple static PyObject *nulltuple
|
||||
Objects/dictobject.c:empty_values static PyObject *empty_values[1]
|
||||
Objects/listobject.c:indexerr static PyObject *indexerr
|
||||
Objects/longobject.c:_PyLong_One PyObject *_PyLong_One
|
||||
Objects/longobject.c:_PyLong_Zero PyObject *_PyLong_Zero
|
||||
Objects/longobject.c:small_ints static PyLongObject small_ints[NSMALLNEGINTS + NSMALLPOSINTS]
|
||||
Objects/setobject.c:emptyfrozenset static PyObject *emptyfrozenset
|
||||
Python/context.c:_token_missing static PyObject *_token_missing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue