diff options
author | rgommers <ralf.gommers@googlemail.com> | 2010-11-03 19:39:49 +0800 |
---|---|---|
committer | rgommers <ralf.gommers@googlemail.com> | 2010-11-03 19:39:49 +0800 |
commit | 12e936a7f793df5b76b639382c7b302c3153c2b3 (patch) | |
tree | 3093caa42f5b74f59de1fc9379803db2e88828b6 | |
parent | 2b06549232202775546d425c4725b0a46002070c (diff) | |
download | numpy-12e936a7f793df5b76b639382c7b302c3153c2b3.tar.gz |
DOC: BUG: fix bug in example of np.spacing. Closes #1659.
-rw-r--r-- | numpy/core/code_generators/ufunc_docstrings.py | 2 |
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 """) |