summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Wilson <person142@users.noreply.github.com>2020-10-11 14:30:32 -0700
committerJosh Wilson <person142@users.noreply.github.com>2020-10-11 14:30:32 -0700
commitb81ab444c0e56011e96c8895a19e18906ab4e731 (patch)
tree0842477257347d573fe2a99304f4bec34cac88fc
parent12e3e1a33ebbef9f3b263b258e3eabab6de5f6a5 (diff)
downloadnumpy-b81ab444c0e56011e96c8895a19e18906ab4e731.tar.gz
MAINT: remove character code literals for integer types
The various character codes are for C types, which are all platform-dependent.
-rw-r--r--numpy/__init__.pyi32
1 files changed, 0 insertions, 32 deletions
diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi
index c51141d5d..be4f55a32 100644
--- a/numpy/__init__.pyi
+++ b/numpy/__init__.pyi
@@ -576,10 +576,6 @@ class dtype(Generic[_DTypeScalar]):
"=u1",
"<u1",
">u1",
- "B",
- "=B",
- "<B",
- ">B",
],
align: bool = ...,
copy: bool = ...,
@@ -593,10 +589,6 @@ class dtype(Generic[_DTypeScalar]):
"=u2",
"<u2",
">u2",
- "h",
- "=h",
- "<h",
- ">h",
],
align: bool = ...,
copy: bool = ...,
@@ -610,10 +602,6 @@ class dtype(Generic[_DTypeScalar]):
"=u4",
"<u4",
">u4",
- "I",
- "=I",
- "<I",
- ">I",
],
align: bool = ...,
copy: bool = ...,
@@ -627,10 +615,6 @@ class dtype(Generic[_DTypeScalar]):
"=u8",
"<u8",
">u8",
- "L",
- "=L",
- "<L",
- ">L",
],
align: bool = ...,
copy: bool = ...,
@@ -644,10 +628,6 @@ class dtype(Generic[_DTypeScalar]):
"=i1",
"<i1",
">i1",
- "b",
- "=b",
- "<b",
- ">b",
],
align: bool = ...,
copy: bool = ...,
@@ -661,10 +641,6 @@ class dtype(Generic[_DTypeScalar]):
"=i2",
"<i2",
">i2",
- "h",
- "=h",
- "<h",
- ">h",
],
align: bool = ...,
copy: bool = ...,
@@ -678,10 +654,6 @@ class dtype(Generic[_DTypeScalar]):
"=i4",
"<i4",
">i4",
- "i",
- "=i",
- "<i",
- ">i",
],
align: bool = ...,
copy: bool = ...,
@@ -695,10 +667,6 @@ class dtype(Generic[_DTypeScalar]):
"=i8",
"<i8",
">i8",
- "l",
- "=l",
- "<l",
- ">l",
],
align: bool = ...,
copy: bool = ...,