diff options
author | Victor Stinner <vstinner@python.org> | 2020-10-27 20:34:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 20:34:33 (GMT) |
commit | c310185c081110741fae914c06c7aaf673ad3d0d (patch) | |
tree | ad2e40e44a63818789a06ee92ff79ed603693e22 /Tools | |
parent | 0564aafb71a153dd0aca4b9266dfae9336a4f2cb (diff) | |
download | cpython-c310185c081110741fae914c06c7aaf673ad3d0d.zip cpython-c310185c081110741fae914c06c7aaf673ad3d0d.tar.gz cpython-c310185c081110741fae914c06c7aaf673ad3d0d.tar.bz2 |
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 f5c1a92..1fd8052 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 |