summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2016-11-06 11:22:24 +1300
committerRalf Gommers <ralf.gommers@gmail.com>2016-11-06 11:22:24 +1300
commit74dbda5345ee426d91472f91975993f760c224ec (patch)
tree16dbcf27530e85fd17cc44eb17239a4e6a6f2ea2 /numpy/core/arrayprint.py
parente6ec66d78a698b2b5cc025580906acde5783c122 (diff)
downloadnumpy-74dbda5345ee426d91472f91975993f760c224ec.tar.gz
DOC: fix typos in arrayprint docstrings.
Addresses part of issue reported in gh-8224.
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r--numpy/core/arrayprint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py
index a9fcfcdaa..349f8ea39 100644
--- a/numpy/core/arrayprint.py
+++ b/numpy/core/arrayprint.py
@@ -90,7 +90,7 @@ def set_printoptions(precision=None, threshold=None, edgeitems=None,
- 'longfloat' : 128-bit floats
- 'complexfloat'
- 'longcomplexfloat' : composed of two 128-bit floats
- - 'numpy_str' : types `numpy.string_` and `numpy.unicode_`
+ - 'numpystr' : types `numpy.string_` and `numpy.unicode_`
- 'str' : all other strings
Other keys that can be used to set a group of types at once are::
@@ -383,7 +383,7 @@ def array2string(a, max_line_width=None, precision=None,
- 'longfloat' : 128-bit floats
- 'complexfloat'
- 'longcomplexfloat' : composed of two 128-bit floats
- - 'numpy_str' : types `numpy.string_` and `numpy.unicode_`
+ - 'numpystr' : types `numpy.string_` and `numpy.unicode_`
- 'str' : all other strings
Other keys that can be used to set a group of types at once are::