MCPcopy Create free account
hub / github.com/ZeroIntensity/pointers.py / A

Class A

tests/test_allocation.py:108–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 if sys.version_info.minor >= 11:
107 return
108 class A:
109 def __init__(self, value: str) -> None:
110 self.value = value
111
112 obj = A("hello")
113 ptr = malloc(sys.getsizeof(obj))

Callers 1

_Function · 0.70

Calls

no outgoing calls

Tested by 1

_Function · 0.56