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.
2 parents 4517378 + 86b94dc commit 6d4c2c4Copy full SHA for 6d4c2c4
doc/source/numpy_2_0_migration_guide.rst
@@ -422,7 +422,9 @@ 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.
428
429
430
Writing numpy-version-dependent code
0 commit comments