Skip to content

Commit b79426a

Browse files
committed
⚰️ _typing: remove Untyped*
1 parent 5035b58 commit b79426a

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

scipy-stubs/_typing.pyi

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# NOTE: This private(!) module only exists in `if typing.TYPE_CHECKING: ...` and in `.pyi` stubs
22

33
from os import PathLike
4-
from collections.abc import Callable, Sequence
4+
from collections.abc import Sequence
55
from types import TracebackType
66
from typing import IO, Any, Literal, Protocol, TypeAlias, type_check_only
77
from typing_extensions import LiteralString, Self, TypeVar
@@ -28,12 +28,6 @@ __all__ = [
2828
"OrderCF",
2929
"OrderKACF",
3030
"ToRNG",
31-
"Untyped",
32-
"UntypedArray",
33-
"UntypedCallable",
34-
"UntypedDict",
35-
"UntypedList",
36-
"UntypedTuple",
3731
"_FortranFunction",
3832
]
3933

@@ -63,14 +57,6 @@ class _FortranFunction(Protocol):
6357
def typecode(self, /) -> LiteralString: ...
6458
def __call__(self, /, *args: object, **kwargs: object) -> object: ...
6559

66-
# placeholders for missing annotations
67-
Untyped: TypeAlias = Any
68-
UntypedTuple: TypeAlias = tuple[Untyped, ...]
69-
UntypedList: TypeAlias = list[Untyped]
70-
UntypedDict: TypeAlias = dict[Untyped, Untyped]
71-
UntypedCallable: TypeAlias = Callable[..., Untyped]
72-
UntypedArray: TypeAlias = onp.Array[Any, np.generic]
73-
7460
# I/O
7561
_ByteSOrStr = TypeVar("_ByteSOrStr", bytes, str)
7662
FileName: TypeAlias = str | PathLike[str]

0 commit comments

Comments
 (0)