Commit ec19ebbe authored by Barry Warsaw's avatar Barry Warsaw

rotorobj_setkey(): A single string argument is now required (i.e. no

long optional with nearly-no-op missing).
parent 8d1824c3
......@@ -767,14 +767,12 @@ rotorobj_setkey(self, args)
Rotorobj *self;
PyObject * args;
{
char *string = NULL;
char *key;
if (!PyArg_ParseTuple(args, "|s", &string))
if (!PyArg_ParseTuple(args, "s", &key))
return NULL;
if (string)
set_key(self, string);
set_key(self, key);
Py_INCREF(Py_None);
return Py_None;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment