SIGN IN SIGN UP

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
B
Bénédikt Tran committed
05a401a5c3e385286a346df6f0b463b35df871b2
Parent: 93b61bc
Committed by GitHub <noreply@github.com> on 9/9/2024, 9:24:24 AM