Find the *target* in *value* after *pos*. Returns the *value* length if *target* isn't found.
(value: str, target: str, pos: int)
| 85 | |
| 86 | |
| 87 | def _find(value: str, target: str, pos: int) -> int: |
| 88 | """Find the *target* in *value* after *pos*. |
| 89 | |
| 90 | Returns the *value* length if *target* isn't found. |
| 91 | """ |
| 92 | try: |
| 93 | return value.index(target, pos) |
| 94 | except ValueError: |
| 95 | return len(value) |
| 96 | |
| 97 | |
| 98 | def _pythonize(value: str) -> None | bool | int | float | str: |