summaryrefslogtreecommitdiff
path: root/numpy/_typing/_nbit.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/_typing/_nbit.py')
-rw-r--r--numpy/_typing/_nbit.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/numpy/_typing/_nbit.py b/numpy/_typing/_nbit.py
new file mode 100644
index 000000000..b8d35db4f
--- /dev/null
+++ b/numpy/_typing/_nbit.py
@@ -0,0 +1,16 @@
+"""A module with the precisions of platform-specific `~numpy.number`s."""
+
+from typing import Any
+
+# To-be replaced with a `npt.NBitBase` subclass by numpy's mypy plugin
+_NBitByte = Any
+_NBitShort = Any
+_NBitIntC = Any
+_NBitIntP = Any
+_NBitInt = Any
+_NBitLongLong = Any
+
+_NBitHalf = Any
+_NBitSingle = Any
+_NBitDouble = Any
+_NBitLongDouble = Any