substituted the appropriate PyArg_Parse calls. Retested. All appears well.
Attach a file by drag & drop or click to upload