diff options
author | Sebastian Berg <sebastianb@nvidia.com> | 2023-03-23 09:51:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 09:51:27 +0100 |
commit | 3ede0d999ea55c07adad0097cef330a61e02a88c (patch) | |
tree | 065afa1754b531713b9a872dbe1fd447e3067b7a /doc/source/reference | |
parent | b35aac2c35ccfd5efadd7f72a090c9ad99308a60 (diff) | |
parent | e05361dc84532fb106ef1c4d1357df5517e126b6 (diff) | |
download | numpy-3ede0d999ea55c07adad0097cef330a61e02a88c.tar.gz |
Merge pull request #23404 from ngoldbaum/dtype-class-array-creation
ENH: allow using dtype classes in array creation functions
Diffstat (limited to 'doc/source/reference')
-rw-r--r-- | doc/source/reference/c-api/array.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/reference/c-api/array.rst b/doc/source/reference/c-api/array.rst index 6651a4760..65244f69e 100644 --- a/doc/source/reference/c-api/array.rst +++ b/doc/source/reference/c-api/array.rst @@ -423,7 +423,7 @@ From other objects :c:data:`NPY_ARRAY_FORCECAST` is present in ``flags``, this call will generate an error if the data type cannot be safely obtained from the object. If you want to use - ``NULL`` for the *dtype* and ensure the array is notswapped then + ``NULL`` for the *dtype* and ensure the array is not swapped then use :c:func:`PyArray_CheckFromAny`. A value of 0 for either of the depth parameters causes the parameter to be ignored. Any of the following array flags can be added (*e.g.* using \|) to get the |