Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1bf1d6 commit 1814aa8Copy full SHA for 1814aa8
doc/source/numpy_2_0_migration_guide.rst
@@ -422,4 +422,6 @@ The :ref:`copy keyword behavior changes <copy-keyword-changes-2.0>` in
422
of how to do so.
423
3. For any ``__array__`` method on a non-NumPy array-like object, a
424
``copy=None`` keyword can be added to the signature - this will work with
425
- older NumPy versions as well.
+ older NumPy versions as well. If ``copy`` keyword is considered in
426
+ the ``__array__`` method implementation, then for ``copy=True`` always
427
+ return a new copy.
0 commit comments