Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZeroIntensity/pointers.py
/ _not_null
Function
_not_null
src/pointers/bindings.py:167–169 ·
view source on GitHub ↗
(data: Optional[T])
Source
from the content-addressed store, hash-verified
165
166
167
def
_not_null(data: Optional[T]) -> T:
168
assert data is not None, f
"{data} is None"
169
return
data
170
171
172
StructMap = Dict[Type[ctypes.Structure], Type[
"Struct"
]]
Callers
1
make_char
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected