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

Method __irshift__

src/pointers/var_pointer.py:106–111  ·  view source on GitHub ↗
(
        self,
        value: Nullable[Union["VarPointer[T]", T]],
    )

Source from the content-addressed store, hash-verified

104 self._address = id(value)
105
106 def __irshift__(
107 self,
108 value: Nullable[Union["VarPointer[T]", T]],
109 ):
110 self.assign(value, frame=3)
111 return self
112
113
114def to_var_ptr(value: T) -> VarPointer[T]:

Callers

nothing calls this directly

Calls 1

assignMethod · 0.95

Tested by

no test coverage detected