@@ -4328,7 +4328,9 @@ dec_##MPDFUNC(PyObject *self, PyObject *Py_UNUSED(dummy)) \
4328
4328
return MPDFUNC(MPD(self)) ? incr_true() : incr_false(); \
4329
4329
}
4330
4330
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
+ */
4332
4334
#define Dec_BoolFuncVA (MPDFUNC ) \
4333
4335
{ \
4334
4336
decimal_state *state = get_module_state_by_def(Py_TYPE(self)); \
@@ -4337,7 +4339,9 @@ dec_##MPDFUNC(PyObject *self, PyObject *Py_UNUSED(dummy)) \
4337
4339
return MPDFUNC(MPD(self), CTX(context)) ? incr_true() : incr_false(); \
4338
4340
}
4339
4341
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
+ */
4341
4345
#define Dec_UnaryFuncVA (MPDFUNC ) \
4342
4346
{ \
4343
4347
PyObject *result; \
@@ -4359,7 +4363,9 @@ dec_##MPDFUNC(PyObject *self, PyObject *Py_UNUSED(dummy)) \
4359
4363
return result; \
4360
4364
}
4361
4365
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
+ */
4363
4369
#define Dec_BinaryFuncVA (MPDFUNC ) \
4364
4370
{ \
4365
4371
PyObject *a, *b; \
@@ -4422,7 +4428,10 @@ dec_##MPDFUNC(PyObject *self, PyObject *args, PyObject *kwds) \
4422
4428
return result; \
4423
4429
}
4424
4430
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
+ */
4426
4435
#define Dec_TernaryFuncVA (MPDFUNC ) \
4427
4436
{ \
4428
4437
PyObject *a, *b, *c; \
0 commit comments