8000
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 290e3a0 commit 1d8a211Copy full SHA for 1d8a211
numpy/_core/src/multiarray/ctors.c
@@ -2476,7 +2476,9 @@ check_or_clear_and_warn_error_if_due_to_copy_kwarg(PyObject *kwnames)
2476
Py_XDECREF(traceback);
2477
if (DEPRECATE("__array__ implementation doesn't accept a copy keyword, "
2478
"so passing copy=False failed. __array__ must implement "
2479
- "'dtype' and 'copy' keyword arguments.") < 0) {
+ "'dtype' and 'copy' keyword arguments. "
2480
+ "To learn more, see the migration guide "
2481
+ "https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword") < 0) {
2482
return -1;
2483
}
2484
return 0;
0 commit comments