(s: str, index: int | None = None)
| 3568 | else: |
| 3569 | # backward-compat: allow item_from_string to ignore index arg |
| 3570 | def item_from_string(s: str, index: int | None = None) -> T | str: |
| 3571 | return self.item_from_string(s) |
| 3572 | |
| 3573 | return self.klass( # type:ignore[call-arg] |
| 3574 | [item_from_string(s, index=idx) for idx, s in enumerate(s_list)] |
nothing calls this directly
no test coverage detected