From 74dbda5345ee426d91472f91975993f760c224ec Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Sun, 6 Nov 2016 11:22:24 +1300 Subject: DOC: fix typos in arrayprint docstrings. Addresses part of issue reported in gh-8224. --- numpy/core/arrayprint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/core/arrayprint.py') 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:: -- cgit v1.2.1