summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/reference/routines.emath.rst8
-rw-r--r--numpy/core/code_generators/ufunc_docstrings.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/source/reference/routines.emath.rst b/doc/source/reference/routines.emath.rst
index c0c5b61fc..8ff712cb4 100644
--- a/doc/source/reference/routines.emath.rst
+++ b/doc/source/reference/routines.emath.rst
@@ -1,9 +1,9 @@
-Mathematical functions with automatic domain (:mod:`numpy.emath`)
-***********************************************************************
+Mathematical functions with automatic domain
+********************************************
.. currentmodule:: numpy
-.. note:: :mod:`numpy.emath` is a preferred alias for :mod:`numpy.lib.scimath`,
+.. note:: :mod:`numpy.emath` is a preferred alias for ``numpy.lib.scimath``,
available after :mod:`numpy` is imported.
-.. automodule:: numpy.lib.scimath
+.. automodule:: numpy.emath
diff --git a/numpy/core/code_generators/ufunc_docstrings.py b/numpy/core/code_generators/ufunc_docstrings.py
index ba3a3a188..24b707a12 100644
--- a/numpy/core/code_generators/ufunc_docstrings.py
+++ b/numpy/core/code_generators/ufunc_docstrings.py
@@ -3817,7 +3817,7 @@ add_newdoc('numpy.core.umath', 'sqrt',
See Also
--------
- lib.scimath.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.