diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2023-03-23 16:38:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 16:38:09 -0400 |
commit | e908093b9628921229dd17f5f64d762a79d53d7c (patch) | |
tree | c4476257f71f40d921cf5b593c6f080941a55004 /numpy | |
parent | 565394bf01017a7ec9479f534d9f9ae32e825836 (diff) | |
parent | 469b748e49334f33d8ba638b298b90478ff52639 (diff) | |
download | numpy-e908093b9628921229dd17f5f64d762a79d53d7c.tar.gz |
Merge pull request #23436 from F3eQnxN3RriK/fix-docs-declaration
DOC: Remove descriptions in method declarations
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/_add_newdocs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/_add_newdocs.py b/numpy/core/_add_newdocs.py index f2a2216c3..bd7c4f519 100644 --- a/numpy/core/_add_newdocs.py +++ b/numpy/core/_add_newdocs.py @@ -2935,7 +2935,7 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('T', add_newdoc('numpy.core.multiarray', 'ndarray', ('__array__', - """ a.__array__([dtype], /) -> reference if type unchanged, copy otherwise. + """ a.__array__([dtype], /) Returns either a new reference to self if dtype is not given or a new array of provided data type if dtype is different from the current dtype of the @@ -3008,7 +3008,7 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('__class_getitem__', add_newdoc('numpy.core.multiarray', 'ndarray', ('__deepcopy__', - """a.__deepcopy__(memo, /) -> Deep copy of array. + """a.__deepcopy__(memo, /) Used if :func:`copy.deepcopy` is called on an array. |