Home
last modified time | relevance | path

Searched refs:compatible_for_assignment (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Objects/
Dtypeobject.c585 static int compatible_for_assignment(PyTypeObject *, PyTypeObject *, const char *);
715 if (!compatible_for_assignment(type->tp_base, new_base, "__bases__")) in type_set_bases()
3880 compatible_for_assignment(PyTypeObject* oldto, PyTypeObject* newto, const char* attr) in compatible_for_assignment() function
4001 if (compatible_for_assignment(oldto, newto, "__class__")) { in object_set_class()
/external/python/cpython2/Objects/
Dtypeobject.c388 static int compatible_for_assignment(PyTypeObject *, PyTypeObject *, char *);
495 if (!compatible_for_assignment(type->tp_base, new_base, "__bases__")) in type_set_bases()
3172 compatible_for_assignment(PyTypeObject* oldto, PyTypeObject* newto, char* attr) in compatible_for_assignment() function
3233 if (compatible_for_assignment(newto, oldto, "__class__")) { in object_set_class()