two more places where the wrong type is passed to PyArg_ParseTupleAndKeywords()