Searched refs:klassname (Results 1 – 1 of 1) sorted by relevance
2420 PyObject *funcname = NULL, *klassname = NULL, *result = NULL; in instancemethod_repr() local2436 klassname = NULL; in instancemethod_repr()2438 klassname = PyObject_GetAttrString(klass, "__name__"); in instancemethod_repr()2439 if (klassname == NULL) { in instancemethod_repr()2444 else if (!PyString_Check(klassname)) { in instancemethod_repr()2445 Py_DECREF(klassname); in instancemethod_repr()2446 klassname = NULL; in instancemethod_repr()2449 sklassname = PyString_AS_STRING(klassname); in instancemethod_repr()2470 Py_XDECREF(klassname); in instancemethod_repr()