summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/ctypeslib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/ctypeslib.py b/numpy/ctypeslib.py
index 0339aa5ef..821c0f5cb 100644
--- a/numpy/ctypeslib.py
+++ b/numpy/ctypeslib.py
@@ -301,8 +301,8 @@ if ctypes is not None:
try: simple_type.__array_interface__
except AttributeError: pass
else: return
-
- typestr = _dtype(dtype).str
+
+ typestr = _dtype(dtype).str
_typecodes[typestr] = simple_type
def __array_interface__(self):