]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-106560: Fix redundant declarations in Include/ (#112611) (#112650)
authorVictor Stinner <vstinner@python.org>
Sun, 3 Dec 2023 11:45:32 +0000 (12:45 +0100)
committerGitHub <noreply@github.com>
Sun, 3 Dec 2023 11:45:32 +0000 (11:45 +0000)
commit05f5d416de88353d4f4568d0e30a22a7f23ba487
treeaeec78159710360bfbfd8c6e5cbb828fc9caf801
parent73cda994a39292c43402cb0914304c82b92b9f43
[3.12] gh-106560: Fix redundant declarations in Include/ (#112611) (#112650)

gh-106560: Fix redundant declarations in Include/ (#112611)

Don't declare PyBool_Type and PyLong_Type twice, but only once.

Compiler warnings seen by building Python with gcc -Wredundant-decls.
Include/boolobject.h
Include/longobject.h
Misc/NEWS.d/next/C API/2023-12-02-02-08-11.gh-issue-106560.THvuji.rst [new file with mode: 0644]