Searched refs:old_bases (Results 1 – 2 of 2) sorted by relevance
662 PyObject *old_bases; in type_set_bases() local721 old_bases = type->tp_bases; in type_set_bases()744 remove_all_subclasses(type, old_bases); in type_set_bases()749 Py_DECREF(old_bases); in type_set_bases()775 type->tp_bases = old_bases; in type_set_bases()782 Py_DECREF(old_bases); in type_set_bases()
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()