nsIComponentManager *pI = GetI(self);
nsIComponentManagerObsolete *pI = GetI(self);
static PyObject *PyContractIDToClassID(PyObject *self, PyObject *args){	char *pid;	if (!PyArg_ParseTuple(args, "s", &pid))		return NULL;	nsIComponentManager *pI = GetI(self);	if (pI==NULL)		return NULL;	nsIID	iid;	nsresult r;	Py_BEGIN_ALLOW_THREADS;	r = pI->ContractIDToClassID(pid, &iid);	Py_END_ALLOW_THREADS;	if ( NS_FAILED(r) )		return PyXPCOM_BuildPyException(r);	return Py_nsIID::PyObjectFromIID(iid);}