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

Method find

src/pointers/api_bindings.py:4143–4153  ·  view source on GitHub ↗
(
        str: PyObjectLike, substr: PyObjectLike, start: int, end: int, direction: int
    )

Source from the content-addressed store, hash-verified

4141 # PyUnicode_Find
4142 @staticmethod
4143 def find(
4144 str: PyObjectLike, substr: PyObjectLike, start: int, end: int, direction: int
4145 ) -> int:
4146 return api_binding_base(
4147 API_FUNCS["PyUnicode_Find"],
4148 _deref_maybe(str),
4149 _deref_maybe(substr),
4150 start,
4151 end,
4152 direction,
4153 )
4154
4155 # PyUnicode_FindChar
4156 @staticmethod

Callers 1

_gen_ct_bindingsFunction · 0.80

Calls 2

api_binding_baseFunction · 0.85
_deref_maybeFunction · 0.85

Tested by

no test coverage detected