summaryrefslogtreecommitdiff
path: root/numpy/typing/__init__.py
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2020-11-16 19:08:49 +0100
committerBas van Beek <b.f.van.beek@vu.nl>2020-12-22 17:24:04 +0100
commitedacfda3da401c56f1eb32d58de08581e03f84d6 (patch)
tree4a4e73a2570317ff9c52306930bf3bafdd81406c /numpy/typing/__init__.py
parenta5285349805c5e794700a3dfcb378b391c53b0c8 (diff)
downloadnumpy-edacfda3da401c56f1eb32d58de08581e03f84d6.tar.gz
ENH: Centralize all `DTypeLike` string aliases in `numpy.typing`
Diffstat (limited to 'numpy/typing/__init__.py')
-rw-r--r--numpy/typing/__init__.py41
1 files changed, 41 insertions, 0 deletions
diff --git a/numpy/typing/__init__.py b/numpy/typing/__init__.py
index 694046609..9f8e27573 100644
--- a/numpy/typing/__init__.py
+++ b/numpy/typing/__init__.py
@@ -241,6 +241,47 @@ from ._nbit import (
_NBitDouble,
_NBitLongDouble,
)
+from ._char_codes import (
+ _BoolCodes,
+ _UInt8Codes,
+ _UInt16Codes,
+ _UInt32Codes,
+ _UInt64Codes,
+ _Int8Codes,
+ _Int16Codes,
+ _Int32Codes,
+ _Int64Codes,
+ _Float16Codes,
+ _Float32Codes,
+ _Float64Codes,
+ _Complex64Codes,
+ _Complex128Codes,
+ _ByteCodes,
+ _ShortCodes,
+ _IntCCodes,
+ _IntPCodes,
+ _IntCodes,
+ _LongLongCodes,
+ _UByteCodes,
+ _UShortCodes,
+ _UIntCCodes,
+ _UIntPCodes,
+ _UIntCodes,
+ _ULongLongCodes,
+ _HalfCodes,
+ _SingleCodes,
+ _DoubleCodes,
+ _LongDoubleCodes,
+ _CSingleCodes,
+ _CDoubleCodes,
+ _CLongDoubleCodes,
+ _DT64Codes,
+ _TD64Codes,
+ _StrCodes,
+ _BytesCodes,
+ _VoidCodes,
+ _ObjectCodes,
+)
from ._scalars import (
_CharLike,
_BoolLike,