diff options
author | Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | 2024-09-09 11:24:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-09 11:24:24 +0200 |
commit | 05a401a5c3e385286a346df6f0b463b35df871b2 (patch) | |
tree | 962112feb1f74fa677d6259f795dc0435ebf2ed0 /Tools/c-analyzer/c_parser/preprocessor/gcc.py | |
parent | 93b61bc1245fb318a11d3d1a0808174b3c1bc333 (diff) | |
download | cpython-05a401a5c3e385286a346df6f0b463b35df871b2.tar.gz cpython-05a401a5c3e385286a346df6f0b463b35df871b2.zip |
chore: decimal module macro cleanup (#123791)
* protect macros expansion via `do { ... } while (0)` constructions in `_decimal.c`
* Use public macro `Py_UNUSED`
This replaces the usages of the `UNUSED` macro which
was not consistent with the `Py_UNUSED` macro itself.
In addition, this amends the parameter names so that
they match their semantic meanings.
* Remove redundant `PyCFunction` casts
Diffstat (limited to 'Tools/c-analyzer/c_parser/preprocessor/gcc.py')
0 files changed, 0 insertions, 0 deletions