Home | History | Annotate | Download | only in Objects

Lines Matching refs:metatype

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

2080 if (PyType_CheckExact(metatype) && nargs == 1 && nkwds == 0) {
2103 /* Determine the proper metatype to deal with this,
2104 and check for metatype conflicts while we're at it.
2105 Note that if some other metatype wins to contract,
2108 winner = metatype;
2127 if (winner != metatype) {
2130 metatype = winner;
2314 type = (PyTypeObject *)metatype->tp_alloc(metatype, nslots);
2542 PyTypeObject *metatype = Py_TYPE(type);
2553 /* Initialize this type (we'll assume the metatype is initialized) */
2562 /* Look for the attribute in the metatype */
2563 meta_attribute = _PyType_Lookup(metatype, name);
2574 (PyObject *)metatype);
2579 /* No data descriptor found on metatype. Look in tp_dict of this
2600 * descriptor from the metatype, if any */
2604 (PyObject *)metatype);
2609 /* If an ordinary attribute was found on the metatype, return it now */