+ PyPosition *self;
+ static char *kwlist[] = { "value", "origin", "key", NULL};
+
+ self = PyObject_New( PyPosition, &PyPosition_Type );
+
+ self->value=0;
+ self->origin=mediacontrol_AbsolutePosition;
+ self->key=mediacontrol_MediaTime;
+
+ /* We do not care about the return value, since it will leave the fields
+ with their default value. */
+ if(! PyArg_ParseTupleAndKeywords( args, kwds, "|lii", kwlist,
+ &(self->value),
+ &(self->origin),
+ &(self->key) ) )
+ {
+ return NULL;
+ }
+
+ Py_INCREF( self );
+ return ( PyObject * )self;