(
str: PyObjectLike, substr: PyObjectLike, start: int, end: int, direction: int
)
| 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 |
no test coverage detected