Home | History | Annotate | Download | only in Objects

Lines Matching refs:metatype

2043 type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds)

2062 if (PyType_CheckExact(metatype) && nargs == 1 && nkwds == 0) {
2085 /* Determine the proper metatype to deal with this,
2086 and check for metatype conflicts while we're at it.
2087 Note that if some other metatype wins to contract,
2090 winner = metatype;
2109 if (winner != metatype) {
2112 metatype = winner;
2294 type = (PyTypeObject *)metatype->tp_alloc(metatype, nslots);
2522 PyTypeObject *metatype = Py_TYPE(type);
2526 /* Initialize this type (we'll assume the metatype is initialized) */
2535 /* Look for the attribute in the metatype */
2536 meta_attribute = _PyType_Lookup(metatype, name);
2547 (PyObject *)metatype);
2552 /* No data descriptor found on metatype. Look in tp_dict of this
2573 * descriptor from the metatype, if any */
2577 (PyObject *)metatype);
2582 /* If an ordinary attribute was found on the metatype, return it now */