summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrgommers <ralf.gommers@googlemail.com>2010-11-03 19:39:49 +0800
committerrgommers <ralf.gommers@googlemail.com>2010-11-03 19:39:49 +0800
commit12e936a7f793df5b76b639382c7b302c3153c2b3 (patch)
tree3093caa42f5b74f59de1fc9379803db2e88828b6
parent2b06549232202775546d425c4725b0a46002070c (diff)
downloadnumpy-12e936a7f793df5b76b639382c7b302c3153c2b3.tar.gz
DOC: BUG: fix bug in example of np.spacing. Closes #1659.
-rw-r--r--numpy/core/code_generators/ufunc_docstrings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/code_generators/ufunc_docstrings.py b/numpy/core/code_generators/ufunc_docstrings.py
index 0cb3a423a..591a898ed 100644
--- a/numpy/core/code_generators/ufunc_docstrings.py
+++ b/numpy/core/code_generators/ufunc_docstrings.py
@@ -2912,7 +2912,7 @@ add_newdoc('numpy.core.umath', 'spacing',
Examples
--------
- >>> np.spacing(1, 2) == np.finfo(np.float64).eps
+ >>> np.spacing(1) == np.finfo(np.float64).eps
True
""")