summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/arrayprint.py12
-rw-r--r--numpy/core/code_generators/ufunc_docstrings.py4
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
----------