File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
1
"""Public API Functions."""
2
2
3
+ # https://github.com/scikit-learn/scikit-learn/pull/27910#issuecomment-2568023972
4
+ from __future__ import annotations
5
+
3
6
import operator
4
7
import warnings
5
8
@@ -719,7 +722,7 @@ def __init__(
719
722
self ._x = x
720
723
self ._idx = idx
721
724
722
- def __getitem__ (self , idx : Index , / ) -> "at" : # numpydoc ignore=PR01,RT01
725
+ def __getitem__ (self , idx : Index , / ) -> at : # numpydoc ignore=PR01,RT01
723
726
"""
724
727
Allow for the alternate syntax ``at(x)[start:stop:step]``.
725
728
Original file line number Diff line number Diff line change 1
1
"""Static type stubs for `_compat.py`."""
2
2
3
+ # https://github.com/scikit-learn/scikit-learn/pull/27910#issuecomment-2568023972
4
+ from __future__ import annotations
5
+
3
6
from types import ModuleType
4
7
5
8
from ._typing import Array , Device
Original file line number Diff line number Diff line change 1
1
"""Utility functions used by `array_api_extra/_funcs.py`."""
2
2
3
+ # https://github.com/scikit-learn/scikit-learn/pull/27910#issuecomment-2568023972
4
+ from __future__ import annotations
5
+
3
6
from . import _compat
4
7
from ._typing import Array , ModuleType
5
8
You can’t perform that action at this time.
0 commit comments