summaryrefslogtreecommitdiff
path: root/numpy/lib/_iotools.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/_iotools.py')
-rw-r--r--numpy/lib/_iotools.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/numpy/lib/_iotools.py b/numpy/lib/_iotools.py
index 67e21aa0c..312a9f02a 100644
--- a/numpy/lib/_iotools.py
+++ b/numpy/lib/_iotools.py
@@ -122,8 +122,9 @@ def flatten_dtype(ndtype, flatten_base=False):
----------
ndtype : dtype
The datatype to collapse
- flatten_base : {False, True}, optional
- Whether to transform a field with a shape into several fields or not.
+ flatten_base : bool, optional
+ If True, transform a field with a shape into several fields. Default is
+ False.
Examples
--------