Fix an extra quote typo in the percentage util (#87161)
This commit is contained in:
parent
25cfa8afdd
commit
934bb3e0c1
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ def ordered_list_item_to_percentage(ordered_list: list[_T], item: _T) -> int:
|
|||
|
||||
"""
|
||||
if item not in ordered_list:
|
||||
raise ValueError(f'The item "{item}"" is not in "{ordered_list}"')
|
||||
raise ValueError(f'The item "{item}" is not in "{ordered_list}"')
|
||||
|
||||
list_len = len(ordered_list)
|
||||
list_position = ordered_list.index(item) + 1
|
||||
|
|
Loading…
Add table
Reference in a new issue