|
1 | 1 | import builtins |
2 | 2 | from _typeshed import Incomplete, Unused |
3 | 3 | from collections.abc import Callable, Collection |
4 | | -from typing import Any, ClassVar, Final, Literal, NoReturn, SupportsIndex, TypeAlias, TypeVar, overload |
5 | | -from typing_extensions import Self, deprecated |
| 4 | +from typing import Any, ClassVar, Final, Literal, SupportsIndex, TypeAlias, TypeVar, overload |
| 5 | +from typing_extensions import Never, Self, deprecated |
6 | 6 |
|
7 | 7 | import numpy as np |
8 | 8 | import pandas as pd |
@@ -245,8 +245,8 @@ class GeometryArray(ExtensionArray): |
245 | 245 | @property |
246 | 246 | def nbytes(self) -> int: ... |
247 | 247 | def shift(self, periods: int = 1, fill_value: Geometry | None = None) -> GeometryArray: ... # type: ignore[override] |
248 | | - def argmin(self, skipna: bool = True) -> NoReturn: ... |
249 | | - def argmax(self, skipna: bool = True) -> NoReturn: ... |
| 248 | + def argmin(self, skipna: bool = True) -> Never: ... |
| 249 | + def argmax(self, skipna: bool = True) -> Never: ... |
250 | 250 | def __array__(self, dtype: DTypeLike | None = None, copy: bool | None = None) -> _Array1D[np.object_]: ... |
251 | 251 | def __eq__(self, other: object) -> _Array1D[np.bool_]: ... # type: ignore[override] |
252 | 252 | def __ne__(self, other: object) -> _Array1D[np.bool_]: ... # type: ignore[override] |
|
0 commit comments