[Python-Dev] Refcounting heap types

Martin v. Loewis martin@v.loewis.de
29 Mar 2002 23:54:06 +0100


typeobject.c:PyType_GenericAlloc has this:

	if (type->tp_flags & Py_TPFLAGS_HEAPTYPE)
		Py_INCREF(type);

Where is the corresponding DECREF?

Regards,
Martin