summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 9b4501469..ad5fccfc0 100644
--- a/numpy/core/code_generators/ufunc_docstrings.py
+++ b/numpy/core/code_generators/ufunc_docstrings.py
@@ -2807,7 +2807,7 @@ add_newdoc('numpy.core.umath', 'nextafter',
Examples
--------
- >>> np.nextrepresentable(1, 2) == np.finfo(np.float64).eps
+ >>> np.nextrepresentable(1, 2) - 1 == np.finfo(np.float64).eps
True
""")