| 626 | PyObject *ty = p_PyObject_Type(unwrap_pyobject(p)); |
| 627 | if (!ty) return raise_py_error(); |
| 628 | PyObject *nm = p_PyObject_GetAttrString(ty, "__name__"); |
| 629 | p_Py_DecRef(ty); |
| 630 | return py_obj_to_lean_string(nm); |
| 631 | } |
| 632 | |
| 633 | /* ------------------------------------------------------------------ */ |
| 634 | /* Object access */ |
nothing calls this directly
no test coverage detected