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