summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index 307a8d837..55538ad1b 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -3117,9 +3117,12 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('__reduce__',
add_newdoc('numpy.core.multiarray', 'ndarray', ('__setstate__',
- """a.__setstate__(version, shape, dtype, isfortran, rawdata)
+ """a.__setstate__(state, /)
For unpickling.
+
+ The `state` argument must be a sequence that contains the following
+ elements:
Parameters
----------