Skip to content

Commit dc5aba5

Browse files
authored
Merge pull request numpy#21032 from jon-deng/fix-sphinx-doc-errors
DOC: fix sphinx errors due to np.emath references
2 parents 55aacc7 + 5f295a5 commit dc5aba5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
Mathematical functions with automatic domain (:mod:`numpy.emath`)
2-
***********************************************************************
1+
Mathematical functions with automatic domain
2+
********************************************
33

44
.. currentmodule:: numpy
55

6-
.. note:: :mod:`numpy.emath` is a preferred alias for :mod:`numpy.lib.scimath`,
6+
.. note:: :mod:`numpy.emath` is a preferred alias for ``numpy.lib.scimath``,
77
available after :mod:`numpy` is imported.
88

9-
.. automodule:: numpy.lib.scimath
9+
.. automodule:: numpy.emath

numpy/core/code_generators/ufunc_docstrings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3817,7 +3817,7 @@ def add_newdoc(place, name, doc):
38173817
38183818
See Also
38193819
--------
3820-
lib.scimath.sqrt
3820+
emath.sqrt
38213821
A version which returns complex numbers when given negative reals.
38223822
Note: 0.0 and -0.0 are handled differently for complex inputs.
38233823

0 commit comments

Comments
 (0)