From bd9c2d610a6c66727a536d8f225bbaaccd2c3726 Mon Sep 17 00:00:00 2001 From: yuki Date: Fri, 21 Apr 2023 06:17:18 +0000 Subject: DOC: Fix incorrect structure in `sqrt` docstring In the "See also" section of [`sqrt` docstring](https://numpy.org/devdocs/reference/generated/numpy.sqrt.html#numpy.sqrt), `Note: ...` is incorrectly parsed by numpydoc. So removed `:` to fix. --- numpy/core/code_generators/ufunc_docstrings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy') diff --git a/numpy/core/code_generators/ufunc_docstrings.py b/numpy/core/code_generators/ufunc_docstrings.py index 05f947c15..1695b4d27 100644 --- a/numpy/core/code_generators/ufunc_docstrings.py +++ b/numpy/core/code_generators/ufunc_docstrings.py @@ -3833,7 +3833,7 @@ add_newdoc('numpy.core.umath', 'sqrt', -------- emath.sqrt A version which returns complex numbers when given negative reals. - Note: 0.0 and -0.0 are handled differently for complex inputs. + Note that 0.0 and -0.0 are handled differently for complex inputs. Notes ----- -- cgit v1.2.1