Method: pylint.checkers.utils.split_format_field_names
Calls: 188, Exceptions: 0, Paths: 1Back
Path 1: 188 calls (1.0)
'Param_1' (24) 'Param_2' (15) 'named' (14) 'a' (14) 'Param' (12) 'Param_3' (6) 'a[Param_1]' (6) 'a[Param_2]' (6) 'Par_1' (6) 'Par_2' (6)
tuple (188)
1def split_format_field_names(
2 format_string: str,
3) -> tuple[str, Iterable[tuple[bool, str]]]:
4 try:
5 return _string.formatter_field_name_split(format_string) # type: ignore[no-any-return]
6 except ValueError as e:
7 raise IncompleteFormatString() from e