Skip to content

Commit 8b4057d

Browse files
committed
use tuple instead of typing.Tuple
1 parent 9e97310 commit 8b4057d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

machine_learning/t_stochastic_neighbour_embedding.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
# Standard library
88
import doctest
9-
from typing import Tuple
109

1110
# Third-party
1211
import numpy as np
@@ -22,7 +21,7 @@
2221
) from e
2322

2423

25-
def collect_dataset() -> Tuple[ndarray, ndarray]:
24+
def collect_dataset() -> tuple[ndarray, ndarray]:
2625
"""
2726
Load the Iris dataset and return features and labels.
2827

0 commit comments

Comments
 (0)