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

Method __init__

lean_py/marshal.py:65–67  ·  view source on GitHub ↗
(self, ptr: Any, *, owned: bool = True)

Source from the content-addressed store, hash-verified

63 __slots__ = ("_ptr", "_owned")
64
65 def __init__(self, ptr: Any, *, owned: bool = True) -> None:
66 self._ptr = ptr
67 self._owned = owned
68
69 @classmethod
70 def borrow(cls, ptr: Any) -> LeanObj:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected