From 6352fec07e52d79dc05294bf7ace811f2c0b1475 Mon Sep 17 00:00:00 2001 From: Margaret <62753112+meg-1@users.noreply.github.com> Date: Wed, 9 Aug 2023 17:09:18 +0300 Subject: [PATCH] Changing type hints --- sorts/split_workload.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sorts/split_workload.py b/sorts/split_workload.py index 3f956ce61..6e59e8420 100644 --- a/sorts/split_workload.py +++ b/sorts/split_workload.py @@ -1,9 +1,7 @@ from typing import List, Tuple, Union -def split_list( - timings: List[Union[int, float, str]] -) -> Tuple[List[Union[int, float]], List[Union[int, float]], Union[int, float]]: +def split_list(timings: list[int | float | str]) -> tuple[list[int | float], list[int | float], int | float]: """ This algorithm is a brute-force search over (nearly) all 2^n