Skip to content

Commit 946ab24

Browse files
committed
Updated docs
1 parent 37cd05e commit 946ab24

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

numpy/core/src/multiarray/array_coercion.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,7 @@ PyArray_DiscoverDTypeAndShape_Recursive(
11591159
* The result may be unchanged (remain NULL) when converting a
11601160
* sequence with no elements. In this case it is callers responsibility
11611161
* to choose a default.
1162+
* @param do_copy Specifies if a copy is to be made during array creation.
11621163
* @return dimensions of the discovered object or -1 on error.
11631164
* WARNING: If (and only if) the output is a single array, the ndim
11641165
* returned _can_ exceed the maximum allowed number of dimensions.

numpy/core/src/multiarray/ctors.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,6 +1284,7 @@ _array_from_buffer_3118(PyObject *memoryview)
12841284
* DType may be used, but is not enforced.
12851285
* @param writeable whether the result must be writeable.
12861286
* @param context Unused parameter, must be NULL (should be removed later).
1287+
* @param do_copy Specifies if a copy is to be made during array creation.
12871288
*
12881289
* @returns The array object, Py_NotImplemented if op is not array-like,
12891290
* or NULL with an error set. (A new reference to Py_NotImplemented

0 commit comments

Comments
 (0)