MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / dec_ref

Function dec_ref

lean_py/_runtime.py:707–714  ·  view source on GitHub ↗

Decrement reference counter.

(self, obj)

Source from the content-addressed store, hash-verified

705
706 class_dict["mk_string"] = mk_string
707 class_dict["io_result_show_error"] = io_result_show_error
708
709
710# ============================================================================
711# Module-level singleton
712# ============================================================================
713
714_ffi_initialized = False
715_cached_model: HeaderModel | None = None
716_cached_structs: dict[str, type] | None = None
717_LeanFFI: type | None = None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected