diff options
author | Matthias Bussonnier <bussonniermatthias@gmail.com> | 2020-12-13 17:08:40 -0800 |
---|---|---|
committer | Matthias Bussonnier <bussonniermatthias@gmail.com> | 2020-12-18 20:49:36 -0800 |
commit | 09cbb7495b92a37ddfb5e7d1bc2e9964bc6a0609 (patch) | |
tree | 232e4a89b612a17fb9b373260dc5adb9306fb8de /numpy/testing/_private/utils.py | |
parent | bac54ecb0b815eea2e8116d21aa96e1387793468 (diff) | |
download | numpy-09cbb7495b92a37ddfb5e7d1bc2e9964bc6a0609.tar.gz |
DOC: Fix a couple of reference to verbatim and vice versa
This update a coupe of references (single backticks) that actually are not to
verbatim/code (double backticks); and a couple of verbatim to reference
when they do actually exists and can be resolved in context.
I probably missed other; and stayed simple but spoted a few other
inconsistencies that I did not fix:
- some ``...`` could actually be :math:`...` but not always clear if
it would be better.
- some intervals are [``...``], other are ``[...]``
I guess they could be discussed individually; it was mostly the failing
references that bothered me.
Diffstat (limited to 'numpy/testing/_private/utils.py')
-rw-r--r-- | numpy/testing/_private/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/_private/utils.py b/numpy/testing/_private/utils.py index e974bbd09..b4d42728e 100644 --- a/numpy/testing/_private/utils.py +++ b/numpy/testing/_private/utils.py @@ -481,7 +481,7 @@ def assert_almost_equal(actual,desired,decimal=7,err_msg='',verbose=True): instead of this function for more consistent floating point comparisons. - The test verifies that the elements of ``actual`` and ``desired`` satisfy. + The test verifies that the elements of `actual` and `desired` satisfy. ``abs(desired-actual) < 1.5 * 10**(-decimal)`` |