summaryrefslogtreecommitdiff
path: root/numpy/random
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2022-03-25 09:40:49 -0600
committerGitHub <noreply@github.com>2022-03-25 09:40:49 -0600
commit266aad7478bc7fbcc55eea7f942a0d373b838396 (patch)
tree0f144df0739b772bf1a38b3e03463c6b4eb21d91 /numpy/random
parent4115eead62a382a32afdb0450c54e0249db02915 (diff)
parent65ec64c932626689b50b53e0909ced47f5a821fa (diff)
downloadnumpy-266aad7478bc7fbcc55eea7f942a0d373b838396.tar.gz
Merge pull request #21216 from BvB93/_typing
MAINT: Split `numpy.typing` into a public and private component
Diffstat (limited to 'numpy/random')
-rw-r--r--numpy/random/_generator.pyi2
-rw-r--r--numpy/random/_mt19937.pyi2
-rw-r--r--numpy/random/_pcg64.pyi2
-rw-r--r--numpy/random/_philox.pyi2
-rw-r--r--numpy/random/_sfc64.pyi2
-rw-r--r--numpy/random/bit_generator.pyi2
-rw-r--r--numpy/random/mtrand.pyi2
7 files changed, 7 insertions, 7 deletions
diff --git a/numpy/random/_generator.pyi b/numpy/random/_generator.pyi
index bac25ffd5..f0d814fef 100644
--- a/numpy/random/_generator.pyi
+++ b/numpy/random/_generator.pyi
@@ -19,7 +19,7 @@ from numpy import (
uint64,
)
from numpy.random import BitGenerator, SeedSequence
-from numpy.typing import (
+from numpy._typing import (
ArrayLike,
_ArrayLikeFloat_co,
_ArrayLikeInt_co,
diff --git a/numpy/random/_mt19937.pyi b/numpy/random/_mt19937.pyi
index 1494aad59..55cfb2db4 100644
--- a/numpy/random/_mt19937.pyi
+++ b/numpy/random/_mt19937.pyi
@@ -2,7 +2,7 @@ from typing import Any, TypedDict
from numpy import dtype, ndarray, uint32
from numpy.random.bit_generator import BitGenerator, SeedSequence
-from numpy.typing import _ArrayLikeInt_co
+from numpy._typing import _ArrayLikeInt_co
class _MT19937Internal(TypedDict):
key: ndarray[Any, dtype[uint32]]
diff --git a/numpy/random/_pcg64.pyi b/numpy/random/_pcg64.pyi
index b1e73565e..470aee867 100644
--- a/numpy/random/_pcg64.pyi
+++ b/numpy/random/_pcg64.pyi
@@ -1,7 +1,7 @@
from typing import TypedDict
from numpy.random.bit_generator import BitGenerator, SeedSequence
-from numpy.typing import _ArrayLikeInt_co
+from numpy._typing import _ArrayLikeInt_co
class _PCG64Internal(TypedDict):
state: int
diff --git a/numpy/random/_philox.pyi b/numpy/random/_philox.pyi
index 1f289f5de..26ce726ec 100644
--- a/numpy/random/_philox.pyi
+++ b/numpy/random/_philox.pyi
@@ -2,7 +2,7 @@ from typing import Any, TypedDict
from numpy import dtype, ndarray, uint64
from numpy.random.bit_generator import BitGenerator, SeedSequence
-from numpy.typing import _ArrayLikeInt_co
+from numpy._typing import _ArrayLikeInt_co
class _PhiloxInternal(TypedDict):
counter: ndarray[Any, dtype[uint64]]
diff --git a/numpy/random/_sfc64.pyi b/numpy/random/_sfc64.pyi
index 333aa92c4..e1810e7d5 100644
--- a/numpy/random/_sfc64.pyi
+++ b/numpy/random/_sfc64.pyi
@@ -4,7 +4,7 @@ from numpy import dtype as dtype
from numpy import ndarray as ndarray
from numpy import uint64
from numpy.random.bit_generator import BitGenerator, SeedSequence
-from numpy.typing import _ArrayLikeInt_co
+from numpy._typing import _ArrayLikeInt_co
class _SFC64Internal(TypedDict):
state: ndarray[Any, dtype[uint64]]
diff --git a/numpy/random/bit_generator.pyi b/numpy/random/bit_generator.pyi
index c5f976d07..e6e3b10cd 100644
--- a/numpy/random/bit_generator.pyi
+++ b/numpy/random/bit_generator.pyi
@@ -12,7 +12,7 @@ from typing import (
)
from numpy import dtype, ndarray, uint32, uint64
-from numpy.typing import _ArrayLikeInt_co, _ShapeLike, _SupportsDType, _UInt32Codes, _UInt64Codes
+from numpy._typing import _ArrayLikeInt_co, _ShapeLike, _SupportsDType, _UInt32Codes, _UInt64Codes
_T = TypeVar("_T")
diff --git a/numpy/random/mtrand.pyi b/numpy/random/mtrand.pyi
index 5af449add..b6eb77f00 100644
--- a/numpy/random/mtrand.pyi
+++ b/numpy/random/mtrand.pyi
@@ -19,7 +19,7 @@ from numpy import (
uint64,
)
from numpy.random.bit_generator import BitGenerator
-from numpy.typing import (
+from numpy._typing import (
ArrayLike,
_ArrayLikeFloat_co,
_ArrayLikeInt_co,