Changing type hints

This commit is contained in:
Margaret 2023-08-09 17:09:18 +03:00 committed by GitHub
parent e80302e2cf
commit 6352fec07e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,7 @@
from typing import List, Tuple, Union from typing import List, Tuple, Union
def split_list( def split_list(timings: list[int | float | str]) -> tuple[list[int | float], list[int | float], int | float]:
timings: List[Union[int, float, str]]
) -> Tuple[List[Union[int, float]], List[Union[int, float]], Union[int, float]]:
""" """
This algorithm is a brute-force search over (nearly) all 2^n This algorithm is a brute-force search over (nearly) all 2^n