diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2021-06-07 23:58:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-07 23:58:38 (GMT) |
commit | 165c884154901deae46b5e328a6414d130e6bfff (patch) | |
tree | 44d0d28e19cf9cb706b44f05b9bb6cfa5e7ab4ef /Objects/capsule.c | |
parent | 631f9938b1604d4f893417ec339b9e0fa9196fb1 (diff) | |
download | cpython-165c884154901deae46b5e328a6414d130e6bfff.zip cpython-165c884154901deae46b5e328a6414d130e6bfff.tar.gz cpython-165c884154901deae46b5e328a6414d130e6bfff.tar.bz2 |
bpo-43693: Silence some compiler warnings. (gh-26588)
The plan is to eventually make PyCodeObject opaque in the public C-API, with the full struct moved to Include/internal/pycore_code.h. _PyLocalsPlusKinds and _PyLocalsPlusKind started off there but were needed on PyCodeObject, hence the duplication. This led to warnings with some compilers. (Apparently it does not trigger a warning on my install of GCC.)
This change eliminates the superfluous typedef.
https://bugs.python.org/issue43693
Diffstat (limited to 'Objects/capsule.c')
0 files changed, 0 insertions, 0 deletions