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

Function inc_ref

lean_py/_runtime.py:702–705  ·  view source on GitHub ↗

Increment reference counter.

(self, obj)

Source from the content-addressed store, hash-verified

700 return self.lean_mk_string(s)
701
702 def io_result_show_error(self, res):
703 """Display an IO error result."""
704 self.lean_io_result_show_error(res)
705
706 class_dict["mk_string"] = mk_string
707 class_dict["io_result_show_error"] = io_result_show_error
708

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected