Home | History | Annotate | Download | only in Objects

Lines Matching refs:metatype

2091 type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds)
2110 if (PyType_CheckExact(metatype) && nargs == 1 && nkwds == 0) {
2133 /* Determine the proper metatype to deal with this,
2134 and check for metatype conflicts while we're at it.
2135 Note that if some other metatype wins to contract,
2138 winner = metatype;
2157 if (winner != metatype) {
2160 metatype = winner;
2337 type = (PyTypeObject *)metatype->tp_alloc(metatype, nslots);
2608 PyTypeObject *metatype = Py_TYPE(type);
2619 /* Initialize this type (we'll assume the metatype is initialized) */
2628 /* Look for the attribute in the metatype */
2629 meta_attribute = _PyType_Lookup(metatype, name);
2640 (PyObject *)metatype);
2645 /* No data descriptor found on metatype. Look in tp_dict of this
2666 * descriptor from the metatype, if any */
2670 (PyObject *)metatype);
2675 /* If an ordinary attribute was found on the metatype, return it now */