summaryrefslogtreecommitdiff
path: root/doc/source/release
diff options
context:
space:
mode:
authorjcwchen <jacky82226@gmail.com>2023-04-19 14:11:33 -0700
committerjcwchen <jacky82226@gmail.com>2023-04-19 14:11:33 -0700
commit315e9f057dc419d8942885dda4d7e45410d86545 (patch)
treef9e06ec0ea025e747019c95f564df335c4978762 /doc/source/release
parent13a5c4e569269aa4da6784e2ba83107b53f73bc9 (diff)
downloadnumpy-315e9f057dc419d8942885dda4d7e45410d86545.tar.gz
Use correct fill_value instead of value for np.full in release 1.24.0 note
Signed-off-by: jcwchen <jacky82226@gmail.com>
Diffstat (limited to 'doc/source/release')
-rw-r--r--doc/source/release/1.24.0-notes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/release/1.24.0-notes.rst b/doc/source/release/1.24.0-notes.rst
index bcccd8c57..1c9e719b3 100644
--- a/doc/source/release/1.24.0-notes.rst
+++ b/doc/source/release/1.24.0-notes.rst
@@ -389,7 +389,7 @@ Users can modify the behavior of these warnings using ``np.errstate``.
Note that for float to int casts, the exact warnings that are given may
be platform dependent. For example::
- arr = np.full(100, value=1000, dtype=np.float64)
+ arr = np.full(100, fill_value=1000, dtype=np.float64)
arr.astype(np.int8)
May give a result equivalent to (the intermediate cast means no warning is