diff options
author | Kevin Sheppard <kevin.k.sheppard@gmail.com> | 2021-02-20 23:09:13 +0000 |
---|---|---|
committer | Kevin Sheppard <kevin.k.sheppard@gmail.com> | 2021-02-24 10:40:30 +0000 |
commit | 3b561dd8de08f94aae49155b03d3a1e5fefdd658 (patch) | |
tree | a7374cf1e6b095591a0a3df83d40557b599d7e8e /numpy | |
parent | a05d5db2109d2d5afda40cb790b66cfb50a4708a (diff) | |
download | numpy-3b561dd8de08f94aae49155b03d3a1e5fefdd658.tar.gz |
Small fixes
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/random/_generator.pyi | 3 | ||||
-rw-r--r-- | numpy/random/bit_generator.pyi | 2 | ||||
-rw-r--r-- | numpy/random/mtrand.pyi | 6 |
3 files changed, 4 insertions, 7 deletions
diff --git a/numpy/random/_generator.pyi b/numpy/random/_generator.pyi index 51a231049..6b1a6f4af 100644 --- a/numpy/random/_generator.pyi +++ b/numpy/random/_generator.pyi @@ -1,5 +1,5 @@ import sys -from typing import Any, Callable, Dict, Literal, Optional, Sequence, Tuple, Type, Union, overload +from typing import Any, Callable, Dict, Optional, Tuple, Type, Union, overload from numpy import ( bool_, @@ -23,7 +23,6 @@ from numpy.typing import ( ArrayLike, _ArrayLikeFloat_co, _ArrayLikeInt_co, - _BoolCodes, _DoubleCodes, _DTypeLikeBool, _DTypeLikeInt, diff --git a/numpy/random/bit_generator.pyi b/numpy/random/bit_generator.pyi index 7f066dbfa..5b68dde6c 100644 --- a/numpy/random/bit_generator.pyi +++ b/numpy/random/bit_generator.pyi @@ -19,7 +19,7 @@ from typing import ( ) from numpy import dtype, ndarray, uint32, uint64 -from numpy.typing import _ArrayLikeInt_co, _ShapeLike, _SupportsDType, _UInt64Codes, _UInt32Codes +from numpy.typing import _ArrayLikeInt_co, _ShapeLike, _SupportsDType, _UInt32Codes, _UInt64Codes if sys.version_info >= (3, 8): from typing import Literal diff --git a/numpy/random/mtrand.pyi b/numpy/random/mtrand.pyi index 8c5391b6e..fc61f7b50 100644 --- a/numpy/random/mtrand.pyi +++ b/numpy/random/mtrand.pyi @@ -1,6 +1,5 @@ -from numpy.random.bit_generator import BitGenerator import sys -from typing import Any, Callable, Dict, Literal, Optional, Sequence, Tuple, Type, Union, overload +from typing import Any, Callable, Dict, Optional, Tuple, Type, Union, overload from numpy import ( bool_, @@ -19,12 +18,11 @@ from numpy import ( uint32, uint64, ) -from numpy.random import BitGenerator, SeedSequence +from numpy.random.bit_generator import BitGenerator from numpy.typing import ( ArrayLike, _ArrayLikeFloat_co, _ArrayLikeInt_co, - _BoolCodes, _DoubleCodes, _DTypeLikeBool, _DTypeLikeInt, |