diff options
author | mattip <matti.picus@gmail.com> | 2018-04-18 00:56:41 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2018-04-18 00:56:41 +0300 |
commit | 953fbda6c22af1ea0269ed533265268b805e324c (patch) | |
tree | 499eaa8611428214e62870dbad07a9b376cef94c /numpy/core | |
parent | df8e83538461c29bc12c44198574bde8ffefcad7 (diff) | |
download | numpy-953fbda6c22af1ea0269ed533265268b805e324c.tar.gz |
fixes from review
Diffstat (limited to 'numpy/core')
-rw-r--r-- | numpy/core/arrayprint.py | 12 | ||||
-rw-r--r-- | numpy/core/code_generators/ufunc_docstrings.py | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py index ad0f630ba..adbbab6ed 100644 --- a/numpy/core/arrayprint.py +++ b/numpy/core/arrayprint.py @@ -990,7 +990,7 @@ def format_float_scientific(x, precision=None, unique=True, trim='k', * 'k' : keep trailing zeros, keep decimal point (no trimming) * '.' : trim all trailing zeros, leave decimal point * '0' : trim all but the zero before the decimal point. Insert the - zero if it is missing. + zero if it is missing. * '-' : trim trailing zeros and any trailing decimal point sign : boolean, optional Whether to show the sign for positive values. @@ -1060,11 +1060,11 @@ def format_float_positional(x, precision=None, unique=True, trim : one of 'k', '.', '0', '-', optional Controls post-processing trimming of trailing digits, as follows: - 'k' : keep trailing zeros, keep decimal point (no trimming) - '.' : trim all trailing zeros, leave decimal point - '0' : trim all but the zero before the decimal point. Insert the - zero if it is missing. - '-' : trim trailing zeros and any trailing decimal point + * 'k' : keep trailing zeros, keep decimal point (no trimming) + * '.' : trim all trailing zeros, leave decimal point + * '0' : trim all but the zero before the decimal point. Insert the + zero if it is missing. + * '-' : trim trailing zeros and any trailing decimal point sign : boolean, optional Whether to show the sign for positive values. pad_left : non-negative integer, optional diff --git a/numpy/core/code_generators/ufunc_docstrings.py b/numpy/core/code_generators/ufunc_docstrings.py index c51b3cae1..bd90d0460 100644 --- a/numpy/core/code_generators/ufunc_docstrings.py +++ b/numpy/core/code_generators/ufunc_docstrings.py @@ -3744,7 +3744,7 @@ add_newdoc('numpy.core.umath', 'ldexp', add_newdoc('numpy.core.umath', 'gcd', """ - Returns the greatest common divisor of x1 and x2 + Returns the greatest common divisor of ``|x1|`` and ``|x2|`` Parameters ---------- @@ -3774,7 +3774,7 @@ add_newdoc('numpy.core.umath', 'gcd', add_newdoc('numpy.core.umath', 'lcm', """ - Returns the lowest common multiple of x1 and x2 + Returns the lowest common multiple of ``|x1|`` and ``|x2|`` Parameters ---------- |