408
417
/* A proper implementation of warnings.showwarning() should
409
418
have at least two default arguments. */
410
419
if ((defaults == NULL) || (PyTuple_Size(defaults) < 2)) {
416
430
res = PyObject_CallFunctionObjArgs(show_fxn, message, category,