MCPcopy Index your code
hub / github.com/ZeroIntensity/pointers.py / is_valid

Method is_valid

src/pointers/api_bindings.py:424–427  ·  view source on GitHub ↗
(capsule: PyObjectLike, name: StringLike)

Source from the content-addressed store, hash-verified

422 # PyCapsule_IsValid
423 @staticmethod
424 def is_valid(capsule: PyObjectLike, name: StringLike) -> int:
425 return api_binding_base(
426 API_FUNCS["PyCapsule_IsValid"], _deref_maybe(capsule), make_string(name)
427 )
428
429 # PyCapsule_New
430 @staticmethod

Callers

nothing calls this directly

Calls 3

api_binding_baseFunction · 0.85
_deref_maybeFunction · 0.85
make_stringFunction · 0.85

Tested by

no test coverage detected