diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2022-03-25 09:40:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-25 09:40:49 -0600 |
commit | 266aad7478bc7fbcc55eea7f942a0d373b838396 (patch) | |
tree | 0f144df0739b772bf1a38b3e03463c6b4eb21d91 /numpy/lib | |
parent | 4115eead62a382a32afdb0450c54e0249db02915 (diff) | |
parent | 65ec64c932626689b50b53e0909ced47f5a821fa (diff) | |
download | numpy-266aad7478bc7fbcc55eea7f942a0d373b838396.tar.gz |
Merge pull request #21216 from BvB93/_typing
MAINT: Split `numpy.typing` into a public and private component
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/arraypad.pyi | 2 | ||||
-rw-r--r-- | numpy/lib/arraysetops.pyi | 2 | ||||
-rw-r--r-- | numpy/lib/arrayterator.pyi | 2 | ||||
-rw-r--r-- | numpy/lib/function_base.pyi | 2 | ||||
-rw-r--r-- | numpy/lib/histograms.pyi | 2 | ||||
-rw-r--r-- | numpy/lib/index_tricks.pyi | 2 | ||||
-rw-r--r-- | numpy/lib/npyio.pyi | 2 | ||||
-rw-r--r-- | numpy/lib/polynomial.pyi | 2 | ||||
-rw-r--r-- | numpy/lib/scimath.pyi | 2 | ||||
-rw-r--r-- | numpy/lib/shape_base.pyi | 2 | ||||
-rw-r--r-- | numpy/lib/stride_tricks.pyi | 2 | ||||
-rw-r--r-- | numpy/lib/twodim_base.pyi | 2 | ||||
-rw-r--r-- | numpy/lib/type_check.pyi | 2 | ||||
-rw-r--r-- | numpy/lib/ufunclike.pyi | 2 |
14 files changed, 14 insertions, 14 deletions
diff --git a/numpy/lib/arraypad.pyi b/numpy/lib/arraypad.pyi index d88224dd2..1ac6fc7d9 100644 --- a/numpy/lib/arraypad.pyi +++ b/numpy/lib/arraypad.pyi @@ -8,7 +8,7 @@ from typing import ( from numpy import generic -from numpy.typing import ( +from numpy._typing import ( ArrayLike, NDArray, _ArrayLikeInt, diff --git a/numpy/lib/arraysetops.pyi b/numpy/lib/arraysetops.pyi index c3c759d5b..babafc886 100644 --- a/numpy/lib/arraysetops.pyi +++ b/numpy/lib/arraysetops.pyi @@ -37,7 +37,7 @@ from numpy import ( void, ) -from numpy.typing import ( +from numpy._typing import ( ArrayLike, NDArray, _ArrayLike, diff --git a/numpy/lib/arrayterator.pyi b/numpy/lib/arrayterator.pyi index b32dffdfc..aa192fb7c 100644 --- a/numpy/lib/arrayterator.pyi +++ b/numpy/lib/arrayterator.pyi @@ -7,7 +7,7 @@ from typing import ( ) from numpy import ndarray, dtype, generic -from numpy.typing import DTypeLike +from numpy._typing import DTypeLike # TODO: Set a shape bound once we've got proper shape support _Shape = TypeVar("_Shape", bound=Any) diff --git a/numpy/lib/function_base.pyi b/numpy/lib/function_base.pyi index e0b0c59ee..f8dbd8a8b 100644 --- a/numpy/lib/function_base.pyi +++ b/numpy/lib/function_base.pyi @@ -30,7 +30,7 @@ from numpy import ( _OrderKACF, ) -from numpy.typing import ( +from numpy._typing import ( NDArray, ArrayLike, DTypeLike, diff --git a/numpy/lib/histograms.pyi b/numpy/lib/histograms.pyi index 81f26d910..27b9dbcfb 100644 --- a/numpy/lib/histograms.pyi +++ b/numpy/lib/histograms.pyi @@ -5,7 +5,7 @@ from typing import ( SupportsIndex, ) -from numpy.typing import ( +from numpy._typing import ( NDArray, ArrayLike, ) diff --git a/numpy/lib/index_tricks.pyi b/numpy/lib/index_tricks.pyi index 923cb8a9f..c9251abd1 100644 --- a/numpy/lib/index_tricks.pyi +++ b/numpy/lib/index_tricks.pyi @@ -26,7 +26,7 @@ from numpy import ( _OrderCF, _ModeKind, ) -from numpy.typing import ( +from numpy._typing import ( # Arrays ArrayLike, _NestedSequence, diff --git a/numpy/lib/npyio.pyi b/numpy/lib/npyio.pyi index b96e9dada..231ed7584 100644 --- a/numpy/lib/npyio.pyi +++ b/numpy/lib/npyio.pyi @@ -26,7 +26,7 @@ from numpy import ( ) from numpy.ma.mrecords import MaskedRecords -from numpy.typing import ( +from numpy._typing import ( ArrayLike, DTypeLike, NDArray, diff --git a/numpy/lib/polynomial.pyi b/numpy/lib/polynomial.pyi index 7ba4747bd..14bbaf39d 100644 --- a/numpy/lib/polynomial.pyi +++ b/numpy/lib/polynomial.pyi @@ -23,7 +23,7 @@ from numpy import ( object_, ) -from numpy.typing import ( +from numpy._typing import ( NDArray, ArrayLike, _ArrayLikeBool_co, diff --git a/numpy/lib/scimath.pyi b/numpy/lib/scimath.pyi index 1b13a6805..589feb15f 100644 --- a/numpy/lib/scimath.pyi +++ b/numpy/lib/scimath.pyi @@ -2,7 +2,7 @@ from typing import overload, Any from numpy import complexfloating -from numpy.typing import ( +from numpy._typing import ( NDArray, _ArrayLikeFloat_co, _ArrayLikeComplex_co, diff --git a/numpy/lib/shape_base.pyi b/numpy/lib/shape_base.pyi index 1c0732795..1b718da22 100644 --- a/numpy/lib/shape_base.pyi +++ b/numpy/lib/shape_base.pyi @@ -13,7 +13,7 @@ from numpy import ( object_, ) -from numpy.typing import ( +from numpy._typing import ( ArrayLike, NDArray, _ShapeLike, diff --git a/numpy/lib/stride_tricks.pyi b/numpy/lib/stride_tricks.pyi index 84dcd12e7..4c9a98e85 100644 --- a/numpy/lib/stride_tricks.pyi +++ b/numpy/lib/stride_tricks.pyi @@ -2,7 +2,7 @@ from collections.abc import Iterable from typing import Any, TypeVar, overload, SupportsIndex from numpy import generic -from numpy.typing import ( +from numpy._typing import ( NDArray, ArrayLike, _ShapeLike, diff --git a/numpy/lib/twodim_base.pyi b/numpy/lib/twodim_base.pyi index b08cf8383..120abb7e0 100644 --- a/numpy/lib/twodim_base.pyi +++ b/numpy/lib/twodim_base.pyi @@ -22,7 +22,7 @@ from numpy import ( _OrderCF, ) -from numpy.typing import ( +from numpy._typing import ( DTypeLike, _DTypeLike, ArrayLike, diff --git a/numpy/lib/type_check.pyi b/numpy/lib/type_check.pyi index 0d8eeb1bd..b04da21d4 100644 --- a/numpy/lib/type_check.pyi +++ b/numpy/lib/type_check.pyi @@ -17,7 +17,7 @@ from numpy import ( integer, ) -from numpy.typing import ( +from numpy._typing import ( ArrayLike, DTypeLike, NBitBase, diff --git a/numpy/lib/ufunclike.pyi b/numpy/lib/ufunclike.pyi index 9a6bbc825..82537e2ac 100644 --- a/numpy/lib/ufunclike.pyi +++ b/numpy/lib/ufunclike.pyi @@ -1,7 +1,7 @@ from typing import Any, overload, TypeVar from numpy import floating, bool_, object_, ndarray -from numpy.typing import ( +from numpy._typing import ( NDArray, _FloatLike_co, _ArrayLikeFloat_co, |