From df226e78831f3bad234dd896ceb1d946b3c39bbf Mon Sep 17 00:00:00 2001 From: Dan Meliza Date: Sat, 13 Jan 2024 16:49:22 -0500 Subject: [PATCH] fix the other type signature for py37-38 compatibility --- toelis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toelis.py b/toelis.py index 8a769c7..bc53633 100644 --- a/toelis.py +++ b/toelis.py @@ -114,7 +114,7 @@ def count(x: RaggedArray) -> int: return sum(len(y) for y in x) -def range(x: RaggedArray) -> tuple[Optional[Number], Optional[Number]]: +def range(x: RaggedArray) -> Tuple[Optional[Number], Optional[Number]]: """Returns the minimum and maximum values in a ragged array y. Note: If any of the trials is empty, returns (None, None). This behavior