diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-03-22 16:23:36 +0000 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-03-23 11:29:46 +0000 |
commit | ebb3618c3911e5b3006c99c5f89df104a1b0d917 (patch) | |
tree | 8814a94c97b2b991cd086c09afd7afb03343035d /numpy/lib/_iotools.py | |
parent | 71a12bdd037de1f1c2d016d373982c27f6f58110 (diff) | |
download | numpy-ebb3618c3911e5b3006c99c5f89df104a1b0d917.tar.gz |
DOC: There's a name for {False, True}, and it's "bool"
Diffstat (limited to 'numpy/lib/_iotools.py')
-rw-r--r-- | numpy/lib/_iotools.py | 5 |
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 -------- |