Certainly should. Although the new variable argument list often makes this
unnecessary. eg, it could be written:
PyObject * obj1, * obj2=NULL;
if (!PyArg_ParseTuple(args, "O|O", &obj1, &obj2))
return NULL;
if (obj2 == NULL): # ob2 not passed.
But sometimes your original is needed, and should work.
Mark.