@@ -4328,7 +4328,9 @@ dec_##MPDFUNC(PyObject *self, PyObject *Py_UNUSED(dummy)) \
43284328 return MPDFUNC(MPD(self)) ? incr_true() : incr_false(); \
43294329}
43304330
4331- /* Boolean function with an optional context arg. */
4331+ /* Boolean function with an optional context arg.
4332+ Argument Clinic provides PyObject *self, PyObject *context
4333+ */
43324334#define Dec_BoolFuncVA (MPDFUNC ) \
43334335{ \
43344336 decimal_state *state = get_module_state_by_def(Py_TYPE(self)); \
@@ -4337,7 +4339,9 @@ dec_##MPDFUNC(PyObject *self, PyObject *Py_UNUSED(dummy)) \
43374339 return MPDFUNC(MPD(self), CTX(context)) ? incr_true() : incr_false(); \
43384340}
43394341
4340- /* Unary function with an optional context arg. */
4342+ /* Unary function with an optional context arg.
4343+ Argument Clinic provides PyObject *self, PyObject *context
4344+ */
43414345#define Dec_UnaryFuncVA (MPDFUNC ) \
43424346{ \
43434347 PyObject *result; \
@@ -4359,7 +4363,9 @@ dec_##MPDFUNC(PyObject *self, PyObject *Py_UNUSED(dummy)) \
43594363 return result; \
43604364}
43614365
4362- /* Binary function with an optional context arg. */
4366+ /* Binary function with an optional context arg.
4367+ Argument Clinic provides PyObject *self, PyObject *other, PyObject *context
4368+ */
43634369#define Dec_BinaryFuncVA (MPDFUNC ) \
43644370{ \
43654371 PyObject *a, *b; \
@@ -4422,7 +4428,10 @@ dec_##MPDFUNC(PyObject *self, PyObject *args, PyObject *kwds) \
44224428 return result; \
44234429}
44244430
4425- /* Ternary function with an optional context arg. */
4431+ /* Ternary function with an optional context arg.
4432+ Argument Clinic provides PyObject *self, PyObject *other, PyObject *third,
4433+ PyObject *context
4434+ */
44264435#define Dec_TernaryFuncVA (MPDFUNC ) \
44274436{ \
44284437 PyObject *a, *b, *c; \
0 commit comments