Lines Matching refs:cls
95 PyObject *cls = NULL, *cell = NULL, *ns = NULL, *meta = NULL, *orig_bases = NULL;
209 cls = PyObject_VectorcallDict(meta, margs, 3, mkw);
210 if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) {
212 if (cell_cls != cls) {
217 PyErr_Format(PyExc_RuntimeError, msg, name, cls);
221 PyErr_Format(PyExc_TypeError, msg, cell_cls, name, cls);
223 Py_DECREF(cls);
224 cls = NULL;
238 return cls;
2657 cls: object
2661 Return whether 'cls' is derived from another class or is the same class.
2669 builtin_issubclass_impl(PyObject *module, PyObject *cls,
2675 retval = PyObject_IsSubclass(cls, class_or_tuple);