diff options
author | 2020-10-27 21:34:33 +0100 | |
---|---|---|
committer | 2020-10-27 21:34:33 +0100 | |
commit | c310185c081110741fae914c06c7aaf673ad3d0d (patch) | |
tree | ad2e40e44a63818789a06ee92ff79ed603693e22 /Tools | |
parent | bpo-42099: Fix reference to ob_type in unionobject.c and ceval (GH-22829) (diff) | |
download | cpython-c310185c081110741fae914c06c7aaf673ad3d0d.tar.gz cpython-c310185c081110741fae914c06c7aaf673ad3d0d.tar.bz2 cpython-c310185c081110741fae914c06c7aaf673ad3d0d.zip |
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.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/c-analyzer/TODO | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Tools/c-analyzer/TODO b/Tools/c-analyzer/TODO index f5c1a92f85..1fd8052268 100644 --- a/Tools/c-analyzer/TODO +++ b/Tools/c-analyzer/TODO @@ -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 |