Skip to content

Commit

Permalink
fix the other type signature for py37-38 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
dmeliza committed Jan 13, 2024
1 parent fd05829 commit df226e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toelis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df226e7

Please sign in to comment.