summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2023-02-24 12:30:34 +0100
committerGitHub <noreply@github.com>2023-02-24 12:30:34 +0100
commit5f04e748b8d4c92bc6ad4d7a38ee6601dc0ccf04 (patch)
tree523493bbef5224b6cc2a5f2e3a7834253a9b4ce1 /numpy
parentd92cc2d1c7c7153525e03c4d10377714d85cfde6 (diff)
parenta36782f163414a44c6ae37d453b07395673b2cac (diff)
downloadnumpy-5f04e748b8d4c92bc6ad4d7a38ee6601dc0ccf04.tar.gz
Merge pull request #23272 from F3eQnxN3RriK/fix-docs-note
DOC: Fix wrong section title
Diffstat (limited to 'numpy')
-rw-r--r--numpy/testing/overrides.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/testing/overrides.py b/numpy/testing/overrides.py
index 781f7d100..edc7132c2 100644
--- a/numpy/testing/overrides.py
+++ b/numpy/testing/overrides.py
@@ -38,9 +38,9 @@ def allows_array_ufunc_override(func):
`True` if `func` is overridable via `__array_ufunc__` and
`False` otherwise.
- Note
- ----
- This function is equivalent to `isinstance(func, np.ufunc)` and
+ Notes
+ -----
+ This function is equivalent to ``isinstance(func, np.ufunc)`` and
will work correctly for ufuncs defined outside of Numpy.
"""