> Now this is what confuses me: Why does it say that I have the wrong
> type when it's the same type as it suggests?

When referring to the type, you must *always* form the address of the
type structure, including, but not limited to, the line

>     if (!PyArg_ParseTuple(args, "O!", SillyStringType, &o))

HTH,
Martin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to