Searched refs:old_bases (Results 1 – 2 of 2) sorted by relevance
447 PyObject *old_bases, *old_mro; in type_set_bases() local501 old_bases = type->tp_bases; in type_set_bases()543 for (i = PyTuple_GET_SIZE(old_bases) - 1; i >= 0; i--) { in type_set_bases()544 ob = PyTuple_GET_ITEM(old_bases, i); in type_set_bases()561 Py_DECREF(old_bases); in type_set_bases()574 type->tp_bases = old_bases; in type_set_bases()
759 PyObject *old_bases; in type_set_bases() local818 old_bases = type->tp_bases; in type_set_bases()841 remove_all_subclasses(type, old_bases); in type_set_bases()846 Py_DECREF(old_bases); in type_set_bases()872 type->tp_bases = old_bases; in type_set_bases()879 Py_DECREF(old_bases); in type_set_bases()