Commit b8b0d2e
committed
refactor: improve type hints in linear_search.py
- Add typing import for Any type
- Update linear_search parameter types from list/int to list[Any]/Any
- Update rec_linear_search parameter types from list/int to list[Any]/Any
- Improves type safety and IDE support while maintaining functionality
Fixes #145921 parent 791deb4 commit b8b0d2e
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
36 | | - | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
0 commit comments