Fix an extra quote typo in the percentage util (#87161)

This commit is contained in:
Crisicus 2023-02-03 02:59:08 +01:00 committed by GitHub
parent 25cfa8afdd
commit 934bb3e0c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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