| 631 | } |
| 632 | |
| 633 | /* ------------------------------------------------------------------ */ |
| 634 | /* Object access */ |
| 635 | /* ------------------------------------------------------------------ */ |
| 636 | |
| 637 | LEAN_EXPORT lean_obj_res lean_py_getattr(b_lean_obj_arg p, b_lean_obj_arg name, lean_obj_arg world) { |
| 638 | (void)world; ENSURE_INIT(); WITH_GIL(); |
| 639 | return ok_owned_or_err(p_PyObject_GetAttrString(unwrap_pyobject(p), lean_string_cstr(name))); |
| 640 | } |
| 641 |
nothing calls this directly
no test coverage detected